• 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: saving in Acrobat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving in Acrobat


  • Subject: Re: saving in Acrobat
  • From: Rob Stott <email@hidden>
  • Date: Sun, 27 Nov 2005 22:37:23 +0000


On 27 Nov 2005, at 10:37, John Cochrane wrote:

Any help with a way to save or an alternative for the file conversion would be much appreciated.



Mmmmm...

Unfortunately I can't test this with Acrobat 5, that's pretty old!

However, I get the same problem you describe with Acrobat 7.0, so I'm guessing its the same issue. I remember a similar problem with earlier versions of Illustrator too - it seems to be that you can't save to a file that doesn't already exist. So the trick is to create an empty file and then save your document to it, like this;

set theDestinationFolder to path to desktop
set theNameOfTheFileToSave to "test.pdf"
set theFile to do shell script "touch " & quoted form of POSIX path of theDestinationFolder & theNameOfTheFileToSave
tell application "Adobe Acrobat 7.0 Professional"
tell front document
activate
save to alias ((theDestinationFolder as string) & theNameOfTheFileToSave)
end tell
end tell

...there may be a more elegant solution to this, but that's the best solution I can think of and it does work.

Good luck

r.




---

Rob Stott - Development Team, Trident UK
Tel: +44 (0) 1482 828100 • Mobile: +44 (0) 7881 811533
My schedule: http://ical.mac.com/robstott/Robs Schedule
My band: http://www.superscapemusic.co.uk

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: saving in Acrobat
      • From: John Cochrane <email@hidden>
References: 
 >saving in Acrobat (From: John Cochrane <email@hidden>)

  • Prev by Date: (no subject)
  • Next by Date: "icon note" in Tiger now a generic icon
  • Previous by thread: saving in Acrobat
  • Next by thread: Re: saving in Acrobat
  • Index(es):
    • Date
    • Thread