Adobe Illustrator CS3 'save' command appears to be buggy
Adobe Illustrator CS3 'save' command appears to be buggy
- Subject: Adobe Illustrator CS3 'save' command appears to be buggy
- From: has <email@hidden>
- Date: Thu, 15 Nov 2007 18:28:15 +0000
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden