Re: Illustrator CS - Save Bug
Re: Illustrator CS - Save Bug
- Subject: Re: Illustrator CS - Save Bug
- From: Simon Topliss <email@hidden>
- Date: Wed, 10 Dec 2003 14:53:20 +0000
Just to finish off this thread for anyone who encounters this bug, here's a
workaround using 'touch' (thanks to Shane Stanley).
tell application "Illustrator CS"
activate
set doc1 to make new document
end tell
saveAi(doc1, (path to desktop folder as string) & "temp1.ai")
saveAi(doc1, (path to desktop folder as string) & "temp2.ai")
on saveAi(docRef, filePath)
touchFile(filePath)
tell application "Illustrator CS"
save docRef in file filePath with options ,
{class:Illustrator save options ,
, compatibility:Illustrator 11 ,
, compressed:false ,
, embed ICC profile:false ,
, embed linked files:false ,
, font subset threshold:100.0 ,
, PDF compatible:false}
end tell
end saveAi
on touchFile(filePath)
do shell script "touch " & (quoted form of POSIX path of filePath)
end touchFile
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.