• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Illustrator CS - Save Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Illustrator CS - Save Bug (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: LZW compression CLI tool (was: screen capture)
  • Next by Date: Panther and AppleScript property not retained - why?
  • Previous by thread: Re: Illustrator CS - Save Bug
  • Next by thread: Photoshop 7/CS & Panther
  • Index(es):
    • Date
    • Thread