# Crashes with "Adobe Illustrator got an error: File/Folder expected" # open (theHFSPath as alias) also crashes # Crashes with "Adobe Illustrator got an error: The specified file could not be opened because it could not be found" Open POSIX file "/Volumes/Mac HD/Users/Mac User/Documents/Illustrator/myFile.ai" without dialogs # i.e., '/Volumes/Mac HD/Users/Mac User/Documents/Illustrator/myFile.ai' Set thePosixPath to quoted form of theHFSPath Illustrator 2020 can open a file referenced by a hard-coded string in posix-style format, but it cannot open that same file from a variable, either an HFS-style alias, or quoted posix-style string, i.e, set theHFSPath to "Mac HD:Users:Mac User:Documents:Illustrator:myFile.ai" Haven't tried Photoshop yet, but most of the automation I use there is in the form of their internal "Actions".Īfter a little research, am thinking they may have tinkered with HFS support, resulting in unanticipated consequences. INDD files to prevent the "save-as" dialog next time they are used, which can mess up scripting. InDesign does not seem to have been affected, as every time a major version upgrade occurs I run a script on some several hundred. No "Just Use JavaScript" suggestions please, unless you can confirm or deny that the problem also occurs in JavaScript.Īm wondering if Adobe has made a change to their Illustrator API, as, since upgrading to the new 2020 version, Applescript files that used to work with earlier versions of Illustrator are now having difficulty opening files when referred to by an alias, or a variable in posix-style format. Sticking to AppleScript in this discussion. (Don't think this should matter, but am not prepared to upgrade the OS, as NVidia still hasn't released drivers for the TitanXP GPU the system uses).
0 Comments
Leave a Reply. |