• 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
No error, No results....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No error, No results....


  • Subject: No error, No results....
  • From: JoePostscript <email@hidden>
  • Date: Sat, 02 Mar 2002 04:19:10 -0500

I'm trying to simply take an open acrobat document and
save it to a new file with a new name in another directory.
Like a save as. Although this snippet runs without error
and appears to process, there's no resulting file? Is Acrobat
5 broken, or am I missing something?

--
Joe Postscript...


-- NEED A DOCUMENT OPEN BEFORE RUNNING
tell application "Finder"
set newFile to {"titanium_1:Desktop Folder:X1.pdf"}
tell application "Acrobat 5.0"
activate -- TRIED REFERENCING AS DOCUMENT 1 AND BY NAME
set docName to name of document 1
save document docName to {file newFile} with linearize
end tell -- SCRIPT RUNS WITHOUT ERROR BUT NO RESULTING FILE
end tell
_______________________________________________
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.

  • Follow-Ups:
    • Re: No error, No results....
      • From: Shane Stanley <email@hidden>
  • Prev by Date: RE: download of Wind Chill (address correction)
  • Next by Date: Re: Get Internet Info?
  • Previous by thread: RE: download of Wind Chill (address correction)
  • Next by thread: Re: No error, No results....
  • Index(es):
    • Date
    • Thread