Re: Adobe Illustrator CS3 'save' command appears to be buggy
Re: Adobe Illustrator CS3 'save' command appears to be buggy
- Subject: Re: Adobe Illustrator CS3 'save' command appears to be buggy
- From: Takaaki Naganoya <email@hidden>
- Date: Fri, 16 Nov 2007 10:13:56 +0900
I met a bug "In Mac OS X 10.4, Illustrator CS2 can not execute
AppleScript save command correctly when CS3 packages are installed in
same environment (and vice versa)."
I recommend you to make the text of JavaScript file-saving routine
and execute it by using "do JavaScript" command in AppleScript (it
worked for me).
We acknowledged that ADOBE is a new bug-making champion in
AppleScript world (the previous champ was Apple).
--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden
PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
On 2007/11/16, at 3:28, has wrote:
Hi all,
Just wrote myself simple batch processing script to save a bunch of
AI CS3 eps files for CS2:
tell application "Finder"
set f to every file of ("/Users/has/MyProject/CS3" as POSIX file
as alias) as alias list
set n to name of every file of ("/Users/has/MyProject/CS3" as
POSIX file as alias)
end tell
repeat with i from 1 to count n
tell application "Adobe Illustrator"
open (get item i of f)
save document 1 in (("/Users/has/MyProject/CS2/A12-" & item i of
n) as POSIX file) ¬
as eps with options {compatibility:Illustrator 12}
close document 1
end tell
end repeat
Problem 1: The files are saved to the CS2 folder with their
original filenames, minus the desired 'A12-' prefix; i.e. the
'save' command only respects the folder and ignores the filename
specified by the 'in' parameter.
Problem 2: The files are saved as CS3 (Illustrator 13), not CS2
(Illustrator 12), compatible files; i.e. the 'compatibility'
property of the 'with options' record parameter is ignored. [1]
Tested on AI 13.0.2 (MBP + OS 10.5.0) and AI 13.0.0 (G4 + OS 10.4.11).
Anyone care to confirm and/or know anything more about this?
has
[1] Bizarrely, if I add another property (e.g. 'embed all
fonts:true') to the 'with options' record, the 'save' command now
respects the 'compatibility' option, which - touch-wood - may allow
me to workaround the problem for now, short of having to convert
every file by hand.
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
mark.nu
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden