Custom scripts not working in Illustrator CC (2014)

A couple of custom scripts that are part of my workflow don't work in the new CC; MultiExporter.jsx and Sprite CSS Generator.jsx.
When I try to run either a titled modal window comes up as if the script is running but the actual window is only a couple of pixels tall and can't be re-sized;
They both worked fine in CC. My grasp of javascript is pretty basic but is there code that needs to be changed to update these to work with the current version?
Thanks!
Bob

It looks like this might have been a system issue or conflict of some sort; I uninstalled AI CC2013 and AI CC2014 as well clearing out all prefs and artifact files and folders. Then did a fresh install of CC2014 an was able to use all my legacy scripts with no problem.

Similar Messages

  • Quick Font Sampling Not Working in Illustrator CC 2014 18.1.0

    I just updated Illustrator CC 2014 to version 18.1.0 and have lost a feature I've come to depend upon to try out different fonts. I don't know what to call the feature, but this is how it worked:
    With a type box selected or type highlighted, I would go to the font menu and with my up/down arrows on my keyboard, start going through the list. This would cause the selected text to change. It was a super quick way to run up and down my font list to see what different type would look like.
    Any ideas what's gone wrong?
    What I'm running:
    iMac OS 10.9.5
    3.4 GHz Intel Core i7
    16 GB RAM
    FontExplorer X Pro 4.2.1

    Hi Satinder,
    I can change the font with the arrow tool, but it wouldn't change the text block I was applying it to unless I then hit "Enter." In the previous version of AI, I didn't need to do this until I landed on a font I wanted to use.
    However, after an hour-long chat with Adobe, they were able to see my issue and provided a very simple fix:
    1. Quit Illustrator CC 2014 18.1.0.
    2. Go to: User>Library>Preferences>Adobe Illustrator 18 Settings, select the folder "en_US" and change its name (they had me rename it to "2en_US")
    3. Relaunch Illustrator and the problem should be resolved. Illustrator creates a new preference folder.
    4. You can go ahead and delete the original, renamed preference folder.
    I hope this is helpful to others that have had the same problem.

  • Unity Express 8.6 custom script not working properly

    Hello!
    I'm having an issue with a custom auto-attendant script for Unity Express 8.6.6.
    A brief overview of the expected call flow:
    Call comes to 2600, which is set to forward to 2699 if busy or no answer.
    Call to 2699 is sent to CUE, which is set to answer with the auto-attendant script.
    Script does a time-and-day check to determine if the site is within business hours.
    If within business hours, a prompt stating line is currently busy, please leave a message is played, and call is forwarded to 2601.
    If outside business hours, a prompt stating office is closed is played, and call is forwarded to 2601.
    Calls to 2601 are all forwarded to voicemail.
    My first version had a Business Hours object, with a schedule parameter set so that the schedule could be chosen in the CUE GUI. This script did not appear to work properly, as the AfterHours option was always selected by the script. My current version removed this object and replaced it with manual Time-and-Day objects, but the same behavior as above occurs – the AfterHours option is always selected.
    Both scripts validated in the editor, and the CUE has been rebooted since the script was first uploaded. TAC validated that nothing in the "show run" is causing CUE to ignore the time-and-day checks. I've attached a ZIP file that contains the scripts, "show software version" and "show license status application" output.
    Am I missing anything?

    I read through the document, and it says that the atrace.log file that is generated is not cleartext. Is there any application I can use to read the traces I generate?
    EDIT: Apologies, it appears this documentation needs to be rewritten. I was looking at the process to enable traces on an AIM module, when our Unity Express module is on an Internal Services Module 300. I issued "show trace buffer trail" and placed a test call, and this is what I see:
    3700 05/25 14:26:12.254 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=188,Step Class=com.cisco.wfframework.steps.core.StepComment,Step Description= /* Open/Closed check */
    3700 05/25 14:26:12.255 ACCN ENGN 0 Execute step of Task 19000000034 :  /* Open/Closed check */
    3700 05/25 14:26:12.255 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=261,Step Class=com.cisco.wf.steps.ivr.DayOfWeekStep,Step Description=Day of Week
    3700 05/25 14:26:12.255 ACCN ENGN 0 Execute step of Task 19000000034 : Day of Week
    3700 05/25 14:26:12.255 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=275,Step Class=com.cisco.wfframework.steps.core.StepGoto,Step Description=Goto AfterHours
    3700 05/25 14:26:12.255 ACCN ENGN 0 Execute step of Task 19000000034 : Goto AfterHours
    3700 05/25 14:26:12.256 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=37,Step Class=com.cisco.wfframework.steps.core.StepLabel,Step Description=AfterHours:
    3700 05/25 14:26:12.256 ACCN ENGN 0 Execute step of Task 19000000034 : AfterHours:
    3700 05/25 14:26:12.256 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=228,Step Class=com.cisco.wfframework.steps.core.StepComment,Step Description= /* Play VTG_Closed prompt ... */
    3700 05/25 14:26:12.256 ACCN ENGN 0 Execute step of Task 19000000034 :  /* Play VTG_Closed prompt ... */
    3700 05/25 14:26:12.256 ACCN APMG 0 EXECUTING_STEP:Executing a step: Application=App[name=autoattendant,type=Cisco Script Application,id=1,desc=autoattendant,enabled=true,max=2,valid=true,cfg=[ApplicationConfig[,name=autoattendant,id=1,type=Cisco Script Application.description=autoattendant,enabled=true,sessions=2,script=SCRIPT[aa_vtgnwd.aef],access=0,privilege=1,script=SCRIPT[aa_vtgnwd.aef]]]],Task id=19000000034,Step id=214,Step Class=com.cisco.wf.steps.ivr.OutputStep,Step Description=Play Prompt (--Triggering Contact--, pAfterHours)
    3700 05/25 14:26:12.256 ACCN ENGN 0 Execute step of Task 19000000034 : Play Prompt (--Triggering Contact--, pAfterHours)
    It appears as though the script engine is seeing the Day of Week object, acknowledging it without somehow doing anything with it, and then choosing a "goto AfterHours" step within that object and playing that prompt, which is consistent with the behavior we're seeing.
    Any thoughts? 

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014.

    in Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014. At first I didn't even see the option but I reinstalled Photoshop CC and now I see the menu option but when I try it there is a message that I need to use Photoshop CC. So I open Photoshop CC and the same thing happens? I can't seem to make it work.

    Kitty,
    Your screen shot is in the virus scanning queue, where it can linger for minutes, hours, days or weeks.
    If you use the camera icon in the reply editor's formatting bar, you can embed your image in your post, where it will be viewable instantly.
    then:
    As for your issue, make sure all applicable scripts are checked in Bridge preferences:

  • EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014
    Hi Amar,
    What's the error when executing this stored procedure?
    I have tested it on my local environment, we can run this SP without any problems.
    Please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • CC 2014 nik efex - My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either

    My Nik Efex filters are not working in Photoshop CC 2014 - they appear under plug-ins and seem to work, but after running and clicking okay, no new layer appears - seems to have no effect.  The separate menu panel does not appear either.  Help with this?

    BINGO !!!!
    Thanks so much Woodsroad. I had the exact same problem with my Dell Windows 7 64 bit with AMD Radeon 6700 Video card.
    All the video tests passed with flying colors.
    The sniffer rename trick fixed the problem.
    Thank goodness for the internet!

  • Selection tool doesnt work in illustrator cc 2014

    selection tool doesnt work in illustrator cc 2014.

    Hi officeisbig,
    While we are working on a solution, if you can upgrade os to 10.9, the issue should get fixed.
    Sanjay.

  • Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Negative (to inline a letter or to thin it) offset path does not work in Illus-CC 2014 (when preview is on- nothing happens). How can I get this to work like in previous versions.

    Thanks for your quick reply. I tried a number of different values. Usually when I do a negative offset they're very small values, like -.25 or -.5.
    An Update- I took the art work into Ai CS 6 and It still did not work, which is really strange. And I've used it hundreds of times with success in the past. Also I tried it with live type and outlines, ungrouped, un-compounded still could not get it to negative offset.
    Thanks for the help.

  • File and keyboard commands not working in Illustrator CC.

    I'm having massive problems with Illustrator CC. The open and paste commands work once or twice and then nothing. Unless I quick the program, they will not work. I have tried everything. I took the drastic step today and erased the hard disk and loaded EVERYTHING again. And I mean everything. I even tested Illustrator without activating the fonts to see if it was a font conflict. Nothing. I'm done. I have tried everything. Has anyone else had this problem? I need help…

    Hi Nicholas Petropoulos,
    I am sorry but even i am running out of options now.
    Try these.
    Make sure you do not have any browser open when you use Illustrator.
    If you are using a magic mouse or Wireless Keyboard.
    Try disconnecting them and check the performance.
    Also when the issue happens, do you have to force close the application to make it work again?
    The mouse and other options do not work on Illustrator. Are you able to use the mouse any where else on the machine when the issue happens ?
    Regards,
    Nikhil Gupta.

  • Kuler not working in illustrator 6 (creative cloud)

    Hi,
    I have the same problem, I have the creative cloud team 6, when I try to connect to kuler threw illustrator it says "A valid ADOBE ID is requiered to use this feature.
    When I try to write username it's already written but ut's grey and there is no option to type in the field.
    As well I downloaded the kuler air and when I enter to sign in it says: Error: klash please try again.
    It has been like that for a few days, since I downloaded it.
    working on MAC os x 10.8.4
    Please help ASAP

    Hi,
    I'm able to sign in to the website but not threw illustrator, (kuler is
    working in Photoshop)
    See 2 screen savers.
    Thanks,
    Keren
    2013/9/2 Neha Sirohi <[email protected]>
       Re: kuler not working in illustrator 6 (creative cloud)  created by Neha
    Sirohi <http://forums.adobe.com/people/Neha+Sirohi> in Kuler website - View
    the full discussion <http://forums.adobe.com/message/5645870#5645870

  • Script to work around Illustrator bugs

    Newbee here,   We are working in Illustrator CS5.  I have put together some scripts & Actions to automate several parts of our work.
         I'll start with what we have now.  Plus what we have now works on both Mac & PC & if there is a way to work around these BUGS it will need to work on both the Mac's & PC's.
    1)  We have an .ai file (our default format) that we can open up & inside some text will automatically fill in when we run a script. (see custom script at bottom) Some text boxes will fill in the date based on the present date on our computer, some text boxes will fill in a name based on the name of the electronic .ai file.
    See red boxes.
    One difficulty that I worked out is, sometimes in one of the fields in the file, it needs to have a name consisting of only 4 sections (or 3 dashes). In example:  ILSLIM = 1,  EXAMPLE = 2, TEST = 3, & AA01 = 4.
    So when this happens then the last dash in this one text box on our format (Not any of the other text boxes) will need the 3rd dash removed (now it is only 3 sections because TESTAA01 are now one).
    So I created an Illustrator "Action" that will after the "ChangeFileNameDate" script is run, the "Action" will select the one text box & then run the "Find and Replace" to delete the 3rd dash as seen above.
    NOW THE PROBLEMS!  (Illustrator bugs)
    1)  In the Illustrator "Actions" when you record an "Action" & use the "Insert Menu Item..." to put a Script in, it will work.  BUT when you quit out of Illustrator & then relaunch it the custom Script will disappear. I looked into this & this is a known bug for years in Illustrator that is still not fixed.
    http://js4ai.blogspot.com/2012/03/how-to-permanently-tie-script-to-action.html
    Works untill you quit out & relaunch.
    BEFORE QUIT.
    AFTER RELAUNCH.
    SO the only work around I can get to work for now is to "Insert Menu Item..." "Other Script..." & this will stay even after relaunch BUT then every time we run the "Action" we have to manually select the script. (CRAP)
    Still here after relaunch.
    PLUS A BUG with recording the "Find and Replace".  In case you do not know, when you save "Actions" in Illustrator you can; save any of the actions that require a dialog box; 1) to either have the dialog box come up so you can enter whatever you need into it or 2) you can have the dialog box NOT come up & the action will just do what it had in it when you recorded it.  This feature is turned on or off by clicking the box next to the check mark on or off (see pic).
    So the BUG is, for my "Actions" that use the "Find and Replace" to delete the dash to work for some reason I have to have the first "Find and Replace" steps dialog botton ON so that the "Find and Replace" dialog box will open up.
         Let me explain, when you record to use the "Find and Replace" it will work fine even with the dialog box option clicked off; but if you quit Illustrator & then relaunch it & try to run the "Actions" that have the "Find and Replace" in them then Illustrator will crash.  So the only work around that I found for this CRAPPY BUG is to simply have the 1st "Find and Replace" in the recorded "Action" with the dialog box set to on (to open up when Action is run) & then we have to manually close it.  We don't have to type anything inside of it.  We simply have to have it open & then close.  Then for some reason the rest of the recorded "Actions" will run with out the dialog boxes opening with the deleteing of the 3rd dash as like when I 1st recorded it.
         So basically, if I want the "Actions" to work at this point I would have to do this;  every time I relaunch Illustrator I would need to manually load the custom script into the "Actions" & I would need to open & close the "Find and Replace" box.  This is CRAP the whole point of "Actions" & Scripts are so I can do everything MANUALLY, NO.  We should be able to have it work for us!
    OR maybe this would be the best solution!
         If inside the "ChangeFileNameDate" custom script it could simply open & then close the "Find and Replace" box (that would solve the crashing with "Find and Replace" in "actions")  then the custom script could cause the "Action" to play instead of the "Action" causing the custom script to play.  Then all we would have to do is drag down to the custom script from "File" & run that.  No crashing, No babysitting.
    DOES ANYONE KNOW HOW OR IF THIS IS POSSIBLE?  To add to the attached script:
    1)  At the beginning to open & close the "Find and Replace" box.
    2)  At the end to cause a saved "action" to run.
    WE WOULD BE SO VERY, INCREDIBLY, EXTREMELY GRATEFUL!
    //////////////////////////////////////////////////////////// english //
    // -=> WR-DateAndTime <=-
    // A Javascript for Adobe Illustrator
    // by Wolfgang Reszel ([email protected])
    // Version 0.9 from 22.9.2011
    // This script inserts the actual date or the actual time to a
    // predefined position in the document.
    // To define the position, you'll have to create an textobject and
    // execute this script while the object is selected. The whole object
    // has to be selected and not words or letters. You can mark more
    // objects, if you select each object separate and execute
    // the script on it.
    // With the placeholders {DATE} and {TIME} you are able to define a
    // particular point, where the date or the time should be replaced.
    // If there is no placeholder in the textobject
    // "{FILENAME}{FILEEXT} ({DATE}, {TIME})" will be used as standard placeholders.
    // To update the date and time execute this script without any object
    // selected.
    // There are some additional placeholders:
    //   {FILE}     - complete document-filename with path
    //   {FILEPATH} - only the documents filepath
    //   {FILENAME} - the filename of the document
    //   {FILEEXT}  - the file extension of the document inclusive dot
    // On my system this script can't see the path of the document, when
    // it was opened directly from windows Explorer (double click).
    // In Illustrator CS it is now possible to edit a DateAndTime-Object.
    // To enable the english messages and date-format change the "de"
    // into "en" in line 90.
    // Sorry for my bad english. For any corrections send an email to:
    // [email protected]
    //////////////////////////////////////////////////////////// Deutsch //
    // -=> WR-DateAndTime <=-
    // Ein Javascript fuer Adobe Illustrator
    // von Wolfgang Reszel ([email protected])
    // Version 0.9 vom 30.9.2011
    // Dieses Skript fuegt das aktuelle Datum und die aktuelle Uhrzeit an
    // eine vorher bestimmte Stelle im Dokument ein.
    // Um eine Stelle zu bestimmen, muss man ein Textobjekt erzeugen, es
    // markieren und dann dieses Skript aufrufen. Es muss das gesamte Objekt
    // ausgewaehlt sein, nicht etwa Buchstaben oder Woerter. Es lassen sich
    // nacheinander auch mehrere Objekte als Datum/Uhrzeit markieren.
    // Mit den Platzhaltern {DATE} und {TIME} (in geschweiften Klammern)
    // kann man bestimmen, wo genau im Text das Datum und die Uhrzeit
    // erscheinen soll. Sind die Platzhalter nicht vorhanden, wird
    // automatisch "{FILENAME}{FILEEXT} ({DATE} - {TIME})" verwendet.
    // Zum Aktualisieren des Datums/Uhrzeit muss man dieses Skript aufrufen
    // wenn kein Objekt ausgewaehlt ist.
    // Es gibt noch einige zusaetzliche Platzhalter:
    //   {FILE}     - kompletter Dateiname mit Pfad
    //   {FILEPATH} - nur der Verzeichnispfad des Dokuments
    //   {FILENAME} - der Dateiname des Dokuments
    //   {FILEEXT}  - die Dateiendung des Dokuments inklusive Punkt
    // Auf meinem System kann der Pfad nicht ermittelt werden, wenn das
    // Dokument vom Windows Explorer geoeffnet wird (Doppel-Klick).
    // InÿIllustrator CSÿkann man nun ein Datum/Uhrzeit-Objekt bearbeiten.
    // Um dieses Skript mit deutschen Meldungen und Datumsformat zu
    // versehen, muss in Zeile 90 das "en" durch ein "de" ersetzt werden.
    // Verbesserungsvorschlaege an: [email protected]
    //$.bp();
    var language="en";   // "de" fuer Deutsch
    var WR="WR-DateAndTime v0.9\n\n";
    var AIversion=version.slice(0,2);
    if (language == "de") {
      var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
      var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
      var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
      var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_notexto = WR+"Kein Textobjekt!";
      var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
      var Timeformat = 24;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "dd.mm.yyyy";
    } else {
      var format_preset = "{FILENAME} ({DATE}, {TIME})";
      var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
      var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
      var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_notexto = WR+"No textobject!";
      var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
      var MSG_nodocs = WR+"You have no open document."
      var Timeformat = 12;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "yyyymmdd";
    var error=0;
    if (documents.length<1) {
      error++;
      alert(MSG_nodocs)
    if (error < 1) {
      date_n_time();
    function TodayDate()
      var Today = new Date();
      var Day = Today.getDate();
      var Month = Today.getMonth() + 1;
      var Year = Today.getYear();
      var PreMon = ((Month < 10) ? "0" : "");
      var PreDay = ((Day < 10) ? "0" : "");
      if(Year < 999) Year += 1900;
    var theDate = Dateformat.replace(/dd/,PreDay+Day);
    theDate = theDate.replace(/mm/,PreMon+Month);
    theDate = theDate.replace(/d/,Day);
    theDate = theDate.replace(/m/,Month);
    theDate = theDate.replace(/yyyy/,Year);
    theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
    return theDate;
    function TodayTime()
      var Today = new Date();
      var Hours = Today.getHours();
      var Minutes = Today.getMinutes();
      var Suffix = "";
      if (Timeformat == 12) {
        if (Hours >= 12 ) {
    Suffix = PM;
    } else {
    Suffix = AM;
    if (Hours >= 13) {
    Hours = Hours - 12;
    if (Hours < 1) {
    Hours = Hours + 12;
      var PreHour = ((Hours < 10) ? "0" : "");
      var PreMin = ((Minutes < 10) ? "0" : "");
      return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
    function DateUpdate(Name) {
      var docpath = activeDocument.path.fsName;
      var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
      var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
      if (docpath.slice(2,3) == "\\") {
        docsep = "\\";
      } else {
        docsep = ":";
      var content = Name.slice(11);
      var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
      var content = content.replace(/\{FILEPATH\}/,docpath);
      var content = content.replace(/\{FILENAME\}/,docname);
      var content = content.replace(/\{FILEEXT\}/,extension);
      var content = content.replace(/\{DATE\}/,TodayDate());
      var content = content.replace(/\{TIME\}/,TodayTime());
      return content;
    function date_n_time()
      if (selection.length == 1) {
        if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
          if (selection[0].name.slice(0,11) == "actualDate:") {
            dateformat = selection[0].name.slice(11);
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_unsetmark );
            } else {
              dateformat = prompt(MSG_editformat, dateformat);
            if(dateformat != "" && Check) {
              selection[0].contents = selection[0].name.slice(11);
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat == "" && !Check) {
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat && dateformat !="" && !Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
          } else {
            dateformat = selection[0].contents;
            if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_setmark );
            } else {
              dateformat = prompt(MSG_askformat, dateformat);
            if (dateformat || Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
              selection[0].selected = false;
        } else {
          alert ( MSG_notexto );
      } else if (selection.length > 1) {
        alert ( MSG_selectedmany );
      } else {
        if (AIversion == "10") {
          var textArtItems = activeDocument.textArtItems;
          for (var i = 0 ; i < textArtItems.length; i++)
            if (textArtItems[i].name.slice(0,11) == "actualDate:") {
              textArtItems[i].selected = true;
              textArtItems[i].contents = DateUpdate(textArtItems[i].name);
        } else {
          var textFrames = activeDocument.textFrames;
          for (var i = 0 ; i < textFrames.length; i++)
            if (textFrames[i].name.slice(0,11) == "actualDate:") {
              textFrames[i].selected = true;
              textFrames[i].contents = DateUpdate(textFrames[i].name);

    Carlos or anyone,  I've been working on several ideas & think that I have come up with the best approach to work around these bugs.  But need it to work in java script.
    1)  In AppleSript I can build a script that will trigger an "Action" to run.  The "Action" will select an object by its "Attributes" "Note".  The selected text box in picture is called "UPPER FORDDOC NAME" so it will select this object only.
    activate application "Adobe Illustrator"
    on doAction(scriptName, actionSet)
              tell application "Adobe Illustrator"
      do script scriptName from actionSet
              end tell
    end doAction
    tell application "Adobe Illustrator"
              tell me to doAction("Save Part # Delete -", "TIC Color 03-13-12")
    end tell
    Can this be done in Java?
    If so then:
    2)  I built an AppleScript that can open the "Find and Replace" then simply close it; by using "System Events" to select the keystrokes.
    Is this possible to do in Java with out buying an extra program?  This AppleScript works great but need it to work also on the PC's.
    activate application "Adobe Illustrator"
    tell application "System Events"
      tell process "Adobe Illustrator"
      --This is the quick key to open the "Find and Replace" window
      keystroke "K" using {command down, shift down, option down}
      delay 1
      --This is the esc key
      key code 53
      end tell
    end tell
    I HOPE SO ssssssssoooooooo MUCH!

  • Blendmein extension is not working in photoshop cc 2014

    I installed add-ons from adobe add-ons website but add-ons are not visible in windows>extension...

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • Actions not working in illustrator cc

    I've a list of actions that I've created in illustrator cs6, now that I'm using CC they're not working any more.
    I get the message e.g. 'the object move is not available' or 'the object reflect is not available'.
    Does this mean I have to recreate all of my actions again?
    I'm using CC on OS X version 10.9.3 on a macbook retina
    Thanks!
    Eric

    Hello Dhirendra,
    I've recreated all my actions in AICC 2014, because the ones I created in
    AICS weren't working.
    When I test the AICC 2014 newly created actions in AICC 2014 they seem to
    work fine.
    When I restart my computer and open AICC 2014 again and use the actions
    they don't work. Please find attached a screenshot.
    They default AICC 2014 do seem to work, so I'm not sure what is the problem.
    Any help is much appreciated as I rely on my actions
    Best,
    Eric
    BoomArtwork
    Concordiastraat 68
    Studio 116
    3551 EM Utrecht
    The Netherlands
    +316 421 551 18
    www.boomartwork.com
    <[email protected]>[email protected]
    The shop <http://www.society6.com/boomartwork> is open! Get your
    BoomArtwork prints here <http://www.society6.com/boomartwork>
    Want to stay updated?
    Subscribe to the newsletter here <http://www.boomartwork.com/subscribe>
    Or follow me on:
    Linkedin <http://www.linkedin.com/in/ericvandenboom> - Twitter
    <http://twitter.com/#%21/boomartwork> - Facebook
    <http://www.facebook.com/pages/boomartwork/218661868146> - Behance
    <http://www.behance.net/boomartwork> - Instagram
    <http://instagram.com/boomartwork>

  • Flex 4: Custom ScrollBar not working in Custom DropDownList

    Hello,
    I'm having an odd issue that I just cannot figure out. I have a custom DropDownList .as component (to pass color values) and a custom skin. In this skin I am using a custom Scroller (same AS file component with mxml skin). When I use this configuration, clicking on the scrollbar just closes the DropDown. If I remove the skin from my custom scrollbar it works, which leads me to believe it has something to do with the DropDown skin. Even if I revert my custom Scroller to the spark Scroller, it still doesn't work. I've narrowed it down to what seems like a problem with my DropDownList skin.
    Not really sure what code to put here, but all I've been doing is right clicking my project and making new ActionScript components and MXML skins from the default skin. Here is my DropDownList skin, not sure if I should paste any other code? I have no idea what would be causing this, so I don't really know what code to place.
          [HostComponent("ccm.DropDown.DropDownList")]          

    Woops, the code didn't place correctly, here it is:
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled=".5" xmlns:Scroller="ccm.Scroller.*" xmlns:DropDown="ccm.DropDown.*">
        <fx:Metadata>
              [HostComponent("ccm.DropDown.DropDownList")]
         </fx:Metadata>
        <!-- host component -->
         <fx:Script fb:purpose="styling">
              <![CDATA[           
                   import flash.filters.BitmapFilterQuality;
                   import flash.filters.BitmapFilterType;
                   import mx.controls.Alert;
                   import spark.filters.*;
                   /* Define the content fill items that should be colored by the "contentBackgroundColor" style. */
                   static private const contentFill:Array = [];
                    * @private
                   override public function get contentItems():Array {return contentFill};
                    * @private
                   override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
                        openButton.setStyle("cornerRadius", getStyle("cornerRadius"));
                        super.updateDisplayList(unscaledWidth, unscaledHeight);
              ]]>
         </fx:Script>
         <s:states>
              <s:State name="normal" />
              <s:State name="open" />
              <s:State name="disabled" />
         </s:states>
         <!---
         The PopUpAnchor control that opens the drop-down list.
         <p>In a custom skin class that uses transitions, set the
         <code>itemDestructionPolicy</code> property to <code>none</code>.</p>
         -->
         <s:PopUpAnchor id="popUp"  displayPopUp.normal="false" displayPopUp.open="true" includeIn="open"
                           left="0" right="0" top="0" bottom="0" itemDestructionPolicy="auto"
                           popUpPosition="below" popUpWidthMatchesAnchorWidth="true" >
              <!---
              This includes borders, background colors, scrollers, and filters.
              @copy spark.components.supportClasses.DropDownListBase#dropDown
              -->
              <s:Group maxHeight="134" minHeight="22" >
                   <s:Rect id="fill" left="1" right="1" top="1" bottom="0" bottomLeftRadiusX="16.5" bottomRightRadiusX="16.5" topLeftRadiusX="16.5" topRightRadiusX="16.5" >
                        <s:fill>
                             <s:SolidColor color="0xFFFFFF" />
                        </s:fill>
                        <s:filters>
                             <s:GlowFilter
                                  color="0x000000"
                                  alpha=".35"
                                  blurX="6"
                                  blurY="6"
                                  strength="1"
                                  quality="{BitmapFilterQuality.HIGH}"
                                  inner="true"
                                  knockout="false"/>
                        </s:filters>
                   </s:Rect>
                   <!--- @private -->
                   <Scroller:Scroller id="scroller" left="8" top="8" right="8" bottom="8" hasFocusableChildren="false" minViewportInset="1"
                                          showButtons="false"
                                          trackColor="{hostComponent._trackColor}"
                                          thumbColor="{hostComponent._thumbColor}"
                                          skinClass="ccm.Scroller.ScrollerSkin">
                        <!--- @copy spark.components.SkinnableDataContainer#dataGroup-->
                        <s:DataGroup id="dataGroup" itemRenderer="ccm.DropDown.DropDownItemRenderer">
                             <s:layout>
                                  <s:VerticalLayout gap="0" horizontalAlign="contentJustify"/>
                             </s:layout>
                        </s:DataGroup>
                   </Scroller:Scroller>
              </s:Group>
         </s:PopUpAnchor>
         <!---  The default skin is DropDownListButtonSkin.
         @copy spark.components.supportClasses.DropDownListBase#openButton
         @see spark.skins.spark.DropDownListButtonSkin -->
         <DropDown:DropDownButton id="openButton" left="0" right="0" top="0" bottom="0" focusEnabled="false"
                                        skinClass="ccm.DropDown.DropDownButtonSkin"
                                        buttonColor="{hostComponent._buttonColor}"
                                        /> 
         <!--- @copy spark.components.DropDownList#labelDisplay -->
         <s:Label id="labelDisplay" verticalAlign="middle" maxDisplayedLines="1"
                    mouseEnabled="false" mouseChildren="false"
                    left="12" right="30" top="2" bottom="2" width="75" verticalCenter="1" />
    </s:SparkSkin>

Maybe you are looking for

  • Route redetermination at delivery

    Hello all, we are planning to carry out route - re determination at the delivery level based on shipping point considering the weight groups and not based on delivery type. there is a user exit in standard SAP (EXIT_SAPL0VRF_001) that does the custom

  • Laserjet 4 with 600 sheet ad on feeder not working. Springs or rollers?

    I have a Laserjet 4 that is the closest thing to a bomb proof printer.  It's slow and old, but just demands toner, rare roller replacement, and cleaning.  I bought a 600 sheet feeder off of Ebay that the printer sits on top of.  It worked for two yea

  • Problem with scrollable content in cs6

    hi out there well since i while i'm using the cs6 to create folios. now i have a problem i didn't have in cs5.5. if i create a scrollable content ("durchlaufbarer rahmen" in german) in the folio overlays i can't navigate on the area where this elemen

  • Adobe Reader 9.1.3 Issues with browser viewing and printing

    I have several users reporting issues after upgrading to Adobe Reader 9.1.3 Issue #1:  User tries to open a PDF on a bank website using Adobe 9.1.3 but receives an error stating file could not be found.  Adobe 9 was uninstalled and Adobe 6 re-install

  • Ao anexar arq. .pdf em e-mail aparece anexado cmd.exe com 250 kb

    Qualquer arquivo .pdf ao se anexar através da tela "Escrever e-mail", ao terminar o carregamento aparece como cmd.exe com 250kb. Outros tipos de arquivos são aceitos normalmente. Os plug-ins da Adobe estão atualizados e o SO é Win 7. Já foi scaneado