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!

Similar Messages

  • [svn:fx-trunk] 13964: Work around TLF bug #2545307.

    Revision: 13964
    Revision: 13964
    Author:   [email protected]
    Date:     2010-02-03 11:47:06 -0800 (Wed, 03 Feb 2010)
    Log Message:
    Work around TLF bug #2545307.  ContainerController.mouseWheelHandler() should be checking if the default behavior is prevented before it acts on the event.  The workaround is to override TextContainerManager.mouseWheelHandler(), which dispatches to ContainerController.mouseWheelHandler(), and only call it if event.isDefaultPrevented() is false.
    QE notes:
    Doc notes:
    Bugs: SDK-25291, Watson #2545307
    Reviewer: Hans
    Tests run: checkintests
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25291
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/RichEditable TextContainerManager.as

  • How to use a calc script to work around Implicitly share members

    I have a hierarchy which has some implicitly shared members( one child per parent)
    For example my cost center dimension is built the following way
    CostCenter
    |
    |-------------------CostCenter1
    | |
    | |--------------Member A( child of COst Center 1) ---------------------------Has 4 children members
    |
    |
    |------------------CostCenter 2
    |
    | Member B( Child of Cost Center 2)______________________ has 4 children
    Anytime I use a function to reference Member A from COstCenter 1, the function is automatically skipping the next level and looking at the bottom level
    For example if I do a @COUNT(SKIPNONE, @children(COstCenter1))
    it returns 4 instead of 1
    I know that if I use the never share option for the members it will fix the issue, but I want to know if there's a work around for it
    Here's the full script I am using
    /*Calculate gross and net values for all regions for parent level cost centers*/
    FIX(@RELATIVE("A_76867",0), @RELATIVE("A_76868",0),
    "USD",
    "GROSS_VIEW",
    "WorkingVersion",
    /*@IDESCENDANTS("Regions"),*/
    @IANCESTORS("R_Americas1"),
    @UDA("Scenarios", "CurScen"),
    @RELATIVE("F_ALL_FUNDING",0),
    /*@REMOVE(@IDESCENDANTS("E_10041716"), @RELATIVE("E_10041716",0))*/
    @ANCESTORS("E_10041676")
    FIX(@UDA("Years", "CurYear"), @UDA("Periods", "CURRENT_Q"))
    "No_LegalEntity"
    "GROSS_VIEW" = @SUMRANGE("NET_VIEW", @children(@currmbr(CostCenters)));
    IF (@ISDESC("A_76867"))
    IF(@COUNT(SKIPNONE,@children(@currmbr(CostCenters)))>1)
    "NET_ADJUSTMENTS" = @COUNT(SKIPNONE,@children(@currmbr(CostCenters)))*
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ELSE "NET_ADJUSTMENTS" = (20000) *
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ENDIF;
    ELSEIF (@ISDESC("A_76868"))
    IF(@COUNT(SKIPNONE,@children(@currmbr(CostCenters)))>1)
    "NET_ADJUSTMENTS" = @COUNT(SKIPNONE,@children(@currmbr(CostCenters))) *
    (1 - "A_SMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ELSE "NET_ADJUSTMENTS" = (20000) *
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ENDIF;
    ENDIF;
    ENDFIX
    FIX(@UDA("Years", "Future1"), @UDA("Periods", "FUTURE_Q"))
    "No_LegalEntity"
    "GROSS_VIEW" = @SUMRANGE("NET_VIEW", @children(@currmbr(CostCenters)));
    IF (@ISDESC("A_76867"))
    IF(@COUNT(SKIPNONE,@children(@currmbr(CostCenters)))>1)
    "NET_ADJUSTMENTS" = @SUMRANGE("NET_ADJUSTMENTS", @children(@currmbr(CostCenters))) *
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ELSE "NET_ADJUSTMENTS" = ("NET_ADJUSTMENTS") *
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ENDIF;
    ELSEIF (@ISDESC("A_76868"))
    IF(@COUNT(SKIPNONE,@children(@currmbr(CostCenters)))>1)
    "NET_ADJUSTMENTS" = @SUMRANGE("NET_ADJUSTMENTS", @children(@currmbr(CostCenters))) *
    (1 - "A_SMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ELSE "NET_ADJUSTMENTS" = ("NET_ADJUSTMENTS") *
    (1 - "A_LMV"->"NETTING_PERCENT"->"Annual_P"->@UDA("Years", "CurYear")->"R_global");
    ENDIF
    ENDIF;
    ENDFIX
    ENDFIX
    ________________________________________

    it is choosing the chilod member instead of the parent eventhough the fix is defined to use the parent memberAnd that's an implied share.
    Per Kevin's recommendation, make the parents Never Share and your code will work the way you expect.
    Regards,
    Cameron Lackpour

  • 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.

  • Working around a cs3[4?] Symbol Set Staining bug

    The problem will show if you stain some but not all of the symbols in a set, then apply at least one further Symbolism tool, then later want to change the original symbol.
    You'll find that the stained symbols won't update to the changes in the original symbol, though the unstained ones will, regardless of how many other Symbolism transitions have been made to them.
    The workaround is to touch the stained symbols with any of the symbolism tools, then do an Undo to remove any effect. Now edit the base Symbol, make no modifications, and return. Your stained symbols will now update to the base symbol appearance (shape change for example).
    You'll have to do this each time, after you've stained some symbols.
    The fascinating thing is that if you remove all staining (Alt/Option staining tool and strokes), the previously stained symbols will revert to proper behaviour, now obeying underlying symbol edits.
    It would be great if Adobe is still fixing CS3 bugs, and would fix this. Does it show up in Illustrator CS4?

    I've got a better sequence to demonstrate this bug, and a nicer work-around, after talking with someone helpful this morning.
    1. Create a symbol - for example 'sunglass' lenses, or as I named them, 'varilens'. This is a path shape for the front of sunglasses, with a gradient across the lenses to get a cartoon realism look.
    2. Spray the symbols. Just produce a Symbol Set normally.
    3. At this point you can use any of the Symbolism tools except Stainer, and everything seems to work properly.
    4. Double-click the 'varilens' in the Symbol window, and edit its shape. When you return from the Isolated 'group' for editing, you'll see that all the 'sunglasses' in the Symbol Set have the new shape, as they should.
    5. Now, stain a few of the 'sunglasses' -- not all of them. For example, use a red color, against an original blue basis of the gradient.
    6. Now, double-click 'varilens' in the Symbol window again, and edit it to a fresh shape. When you return from the Isolated editing 'group', you'll find all the original blue sunglasses have the new symbol shape. But the reddish Stained sunglasses do not. They've kept the previous shape. This is the bug.
    7. To work around the bug, I've found an even simpler way now. Just double-click 'varilens' once more, in the Symbol window, and immediately exit the Isolated editing 'group'. The Stained symbols will now 'catch up' to having the new shape, this second time.

  • [svn:fx-trunk] 13207: Accepted patch for UITextField textHeight property to work around an underlying bug in the player .

    Revision: 13207
    Revision: 13207
    Author:   [email protected]
    Date:     2009-12-23 13:11:43 -0800 (Wed, 23 Dec 2009)
    Log Message:
    Accepted patch for UITextField textHeight property to work around an underlying bug in the player.
    flash.text.TextField does not take into account the leading on the final line of text when measuring itself, yet will scroll if it is not given this extra height. The player has retired this bug.
    Ported componentSmoke test to basicTests.  If this fail it means the player has fixed the bug and we need to remove the workaround.
    QE notes: components/Text/Properties/Text_Properties_tester Checking_Property_textHeight needs to be updated
    Doc notes:
    Bugs: SDK-24461
    Reviewer:
    Tests run: checkintests, mx Label, Panel, TextInput, TextArea and Text
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24461
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as
        flex/sdk/trunk/frameworks/tests/basicTests/halo/scripts/TextTestScript.mxml

    Revision: 13207
    Revision: 13207
    Author:   [email protected]
    Date:     2009-12-23 13:11:43 -0800 (Wed, 23 Dec 2009)
    Log Message:
    Accepted patch for UITextField textHeight property to work around an underlying bug in the player.
    flash.text.TextField does not take into account the leading on the final line of text when measuring itself, yet will scroll if it is not given this extra height. The player has retired this bug.
    Ported componentSmoke test to basicTests.  If this fail it means the player has fixed the bug and we need to remove the workaround.
    QE notes: components/Text/Properties/Text_Properties_tester Checking_Property_textHeight needs to be updated
    Doc notes:
    Bugs: SDK-24461
    Reviewer:
    Tests run: checkintests, mx Label, Panel, TextInput, TextArea and Text
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24461
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as
        flex/sdk/trunk/frameworks/tests/basicTests/halo/scripts/TextTestScript.mxml

  • Audio/Animation Bug, with a work-around

    This is one of those cases where TechSupport believes a
    work-around is fine to something I would consider a bug. Took me a
    while to find the solution so I'd like to share with everyone my
    problem/solution.
    Background: I have a presentation with recorded audio on a
    slide that uses custom animation; in this case I've drawn circles
    and squares against an image to highlight a point. The animation is
    "on click" specific per Breeze. One of those animations creaps in
    slowly.
    Issue: When that same presentation from the Content Library
    is shared in a Meeting, in my opinion all sound should be
    "disconnected" unless using the presentation playbar. However, I
    have found that during the building of the screen (using Next/Right
    Arrow), the "sound behind the animation" comes through. Not
    terribly anoying for fast entrances, etc., but when something
    creaps in, you can have a lengthy audio playback during that time.
    IMHO, this shouldn't happen.
    Solution: (two; 1 TechSupport, 1 mine) TechSupport says to
    save the presentation as a different file name, close and delete
    the .ppc file, reload into PowerPoint, accept the load without
    audio and republish. Then in the meeting room simply select that
    renamed file. Major drawback on this point: I've got a file upload
    limit on my account. I've just doubled the space required per file.
    My solution was to use the Pod Options on the share, select
    Show Presentation Playbar and mute the audio. Simple.
    However, I still think the audio snippets behind the
    animations are a bug.
    Thanks for letting me get the word out about audio behind
    animations.
    JR

    First Try this:  launch iPhoto with the Option key held down and create a new, test library.  Import some original photos from other library that are not rotated properly and check to see if the same problem persists. If it does persist do the following:  make a temporary, backup copy (if you don't already have a backup copy) of the library and try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    Click to view full size
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    If still not working correctly continue with the following:  apply the fixes below in order as needed:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.

  • It's simple... I want the Illustrator pen tool to ALWAYS make corner annchor points and NEVER smooth.  Right now I have to convert every single one of them, or I have to do a work around every time I draw a line and make one of the handles disappear.  Is

    It's simple... I want the Illustrator pen tool to ALWAYS make corner annchor points and NEVER smooth.  Right now I have to convert every single one of them, or I have to do a work around every time I draw a line and make one of the handles disappear.  Is there some simple setting out there that will just "make it so?"@

    The video I am watching this guy is just dragging every line to make curves.  And every anchor point is a corner.  He is not switching back and forth between the pen and the anchor points tool, and he is not using the convert points tool.  He draws a curved line and starts another straight line only to curve it with a click and a drag.  It is super efficient, and I could save a world of time if I could figure out what he is doing.

  • [svn:osmf:] 17958: Add layout direction attributes to work around bug SDK-26940, when in Flex 3 compatibility mode.

    Revision: 17958
    Revision: 17958
    Author:   [email protected]
    Date:     2010-09-30 11:31:49 -0700 (Thu, 30 Sep 2010)
    Log Message:
    Add layout direction attributes to work around bug SDK-26940, when in Flex 3 compatibility mode.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26940
    Modified Paths:
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer.mxml

    Height is determined by content.  I can't think of a single reason to have a div height of 5px because almost nothing will fit inside that small a space without problems. 
    As to why it doesn't show up in other devices, you must have put that style into the Tablet CSS code instead of the default Mobile CSS code.
    Fluid Grids build up from Mobile (applied to everything) with specific rules for Tablets, then Desktops.
    Best advice, use Fluid Grids for layout only.  Use a separate CSS file for content styles.
    Hope this helps,
    Nancy O.

  • Illustrator CC 18.1.1 print preview is not displaying preview properly. Any work around?!

    I only started having this problem recently. It might be a Yosemite bug or graphics driver bug. When I go to print in the latest version of Illustrator CC 18.1.1 I get a shrunken window of what print preview should be (see below).
    Circumstances are that I have my MBP 15" Retina connected to a Apple Thunderbolt Display. When I'm working in Illustrator on the Thunderbolt display and have the laptop screen open beside it, print preview will not display correctly. If I drag the print dialog box over to the laptop screen, it then shows print preview correctly. Also, I found that if I close the laptop screen and just work off the Thunderbolt display print preview works correctly again. ITS DRIVING ME CRAZY! Please Help!
    I'm currently running:
    OS X 10.10.2
    MacBook Pro (Retina, 15-inch, Early 2013)
    2.8 GHz Intel Core i7
    Memory 16 GB 1600 MHz DDR3
    Graphics NVIDIA GeForce GT 650M 1024 MB
    Screenshot from Thunderbolt Display. Print Preview is shrunk to upper-left hand corner:
    Screenshot from laptop screen when I brought the print dialog window over to it. The print preview corrected itself:

    Thanks pipinngpete.  You helped me understand what was going on.  Here is my post:
    Illustrator print preview is not displaying the preview properly. Any clue as to why?
    Rob

  • [svn] 4610: Commit Josh's patch for 3. x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil .toString() working with QNames.

    Revision: 4610
    Author: [email protected]
    Date: 2009-01-21 12:48:01 -0800 (Wed, 21 Jan 2009)
    Log Message:
    Commit Josh's patch for 3.x to fix bug SDK-17367 which works around an issue with Dictionary that stops ObjectUtil.toString() working with QNames.
    QE: Yes, please add a test case to ObjectUtil tests for this scenario.
    Doc: No
    Checkintests: Pass
    Bugs:
    SDK-17367 ObjectUtil.toString(QName) causes RTE
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-17367
    http://bugs.adobe.com/jira/browse/SDK-17367
    Modified Paths:
    flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/ObjectUtil.as

    VPN-User,
    Ok - I see the list of issues and will ensure our X300 specialist takes a look at it.   
    Please do understand that while you have put together a very coherent list, I try to ensure priority to threads in which multiple customers are focused on a single issue, as we deliver the most benefit to the community in working on those.   This forum is primarly a peer to peer discussion forum rather than a Lenovo chat / tech support where we try to solve each and every issue put forth.
    Individuals with a long list of issues on a particular machine may find benefit from either contacting technical support and working through their list, or publishing it as you have done and wait for other users of the same system to share their experiences.
    Thanks for your patience
    Mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Illustrator CS6 crashes using Effect Stylize Drop Shadow. There's a work-around

    Illustrator CS6 crashes when using Effect > Stylize > Drop Shadow on a regular shape e.g. rectangle created by the Ractangle Tool.
    I select the shape, apply the effect and it will crash giving this warning dialog: "The operation cannot complete of an unknown error: [CANT]". Then Illustrator CS6 crashes.
    This is the crash report in Windows 7 32-bit:
    Faulting application name: Illustrator.exe, version: 16.0.0.682, time stamp: 0x4f6e762b
    Faulting module name: MMXCore.8BX_unloaded, version: 0.0.0.0, time stamp: 0x4f44e8d6
    Exception code: 0xc0000005
    The crash happens about 90% of the time.
    Possible work-around:
    Since I experienced some strange behaviour of CS6 applications before, I experimented witn running Illustrator as an administrator (elevated privileges). When I do that, I can apply the effect without Illustrator CS6 crashing. Here I go again..elevated privileges (see http://forums.adobe.com/message/4432510) .
    I have to admit, this is one of the many strange behaviours in CS6 applications that make their performance and reliability very unpredictable.
    Cheers,
    Dave

    Wade_Zimmerman wrote:
    When will you users on the Window platform learn to repair your permissions the problem when installing any software is that the permissions may not be set properly and this may be caused by the way previously installed software has changed your system.
    Because there's no need to do a "repair permissions" thing, that being a bizarre Apple concept.  In Windows, the software installation neither "sets permissions properly" nor does previously installed software "change your system" (whatever that means).  Windows installation packages run under a special account to copy files into their proper directories without having to "change system properties".  It's all done automagically and managed by Windows, not by individual applications.
    Wade_Zimmerman wrote:
    KNow I know that with windows users it is a very unpopular premise that the permission might need to be repaired but they do from time to time and I believe unfortunately that on the Windows platform it is a manual procedure but there may be a utility that can do it for you.
    Like I said, all of that makes no sense on Windows.
    Wade_Zimmerman wrote:
    Of course your settings folder could also be corrupt.
    I did rename the Prefs, and AI did re-create it, and the SFW problem I described was resolved.  Great!, I thought, until I closed AI and opened it again -- Boom!  Same problem.
    The problems I described happen because software developers (and the Q&A testing teams) have an arrogant attitude -- they think "I'm the King of my computer and, by God, I'm going to run my computer as the most powerful user I can be."  So they do all their work under the elevated privileges of an administrator account, and are completely surprised and clueless when their software fails to run under a standard user account.  (Always running one's computer under the reduced privileges of a standard user account, by the way, is the recognized Best Practice for safe computing; and in these times it is now unacceptable to require elevated privileges to run an application....)
    Ken

  • JTable Java 1.6 Bug Progress ??? Work Around ?

    I was just wondering if there was a work around for the following bug on java 1.6 ???
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6568959
    This has been really annoying me because it's a requirement to use JInternalFrame and of course they want to treat the JTable like a spread sheet and edit cells using the keyboard and mouse. Is there some way to fix this really soon ? I was shocked why my program worked so well until I tried java 1.6 JRE and then the focus problems came.

    I was just wondering if there was a work around for the following bug on java 1.6 ???
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6568959
    This has been really annoying me because it's a requirement to use JInternalFrame and of course they want to treat the JTable like a spread sheet and edit cells using the keyboard and mouse. Is there some way to fix this really soon ? I was shocked why my program worked so well until I tried java 1.6 JRE and then the focus problems came.

  • Bug? re: SFX in 10.1 / constant work-around

    When I first installed FCPX 10.1, I noticed my SFX and GarageBand elements were missing in the music and sound-browser. I learned a work-around to solve this. (from this user group)
    Except, as it stands now... Every time I quit the FCPX app, I have to do the same work-around:
    Quit FCPX
    Open GarageBand
    Quit Garageband
    Re-Open FCPX
    This is cumbersome to do EVERY TIME I launch into my project (after quitting the app.)
    Is this a known bug?
    Has anyone else experienced this?
    Does anyone have a permanent solution?
    Thanks.

    Try running the java commands as root:
    bzn:~ bzn$ java -version
    Error occurred during initialization of VM
    Unable to load native library: libjava.jnilib
    bzn:~ bzn$ sudo java -version
    Password:
    java version "1.6.0_22"
    Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
    Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
    bzn:~ bzn$
    I've had to do this with a lot of other command-line tools since I installed 10.6 ... sips ... textutil ...
    Hope this helps.
    Barb

  • Can Illustrator CS4 open Illustrator CS6 files? or other work around way to open CS6 files?

    Can Illustrator CS4 open files created in CS6? or can CS6 files be converted to be opened in CS4? like CS6 InDesign can be saved in IDML files to be opened in previous versions. Or if there is any other work around ways, like save CS6 files in PDFs/eps/... so the files can be opened in CS4 and work from there. Thank you.

    Open in CS6 , file >> Save As >> Version >> CS4.

Maybe you are looking for

  • Time Capsule setup with older (G band) AirPort Express

    I have a new dual band TC and have some setup questions for Airtunes. 1. I want to setup my Airport Express (older version w G) for Airtunes. I have it connected to the TC via Ethernet. I set it up to join the network, but I think it's doing it wirel

  • DVD Drive Won't Read "Homemade" Data Discs

    Hello! I just purchased a T500 with a regular old DVD burner (Optiarc DVD RW AD-7910S) and am having an issue with it. The problem is that it will read certain DVDs just fine (a Visual Studio DVD, for instance, worked just fine. As did a Vista Ultima

  • Script Outbound. How introduce multiple numbers in a "Place call"?

    Hi, i'm trying to implement a script to make multiple outbound calls in a UCCX system but i don't know how can introduce several phones. The idea is simple but this step is critical: 1-take the first phone number and make the call. 2-take the secornd

  • How to display Zero(0) values in cross tab format in Webi???

    Hi All, Is there a way to display the zero(0) or null values in cross tab format in webi. I can able to display in Regular tabular format in Webi as u got an option in Properties --> Display --> Show all rows/columns, but it is not working when i am

  • Re: Worst customer service experienmce ever keeps getting worse....and worse

    I cant get anyone to explain what a HD technology fee is. They have trapped my internet service twice in the last year doing maintenance which took me over two weeks to fix both times. They were unaware they themselves caused the outage and unconcern