Acrobat script
Acrobat script
- Subject: Acrobat script
- From: Rick Norman <email@hidden>
- Date: Thu, 06 Mar 2003 14:18:16 -0600
Can someone tell me why this little script will open the files indicated but
when it gets to the line to actually insert the pages it tells me (by name)
that it can't get the file. Could it have to do with the version? On an
earlier post 2-4 weeks ago someone on the list pointed another to the
"Acrobat Interapplication Communication Reference" which is an absolute must
to script Acrobat, but the documentation refers to Acrobat 5 and I'm still
using 4.0. Anyway, script follows.
set destDocument to "FWB 6 GB:49067CustSerProf:vdfx.pdf" as string
set sourceDocument to "FWB 6 GB:49067CustSerProf:vdfy.pdf" as string
set afterPage to 1
set firstPage to 1
set numPages to 1
tell application "Acrobat 4.0"
activate
open file destDocument -->this works
open file sourceDocument -->this works
insert pages document destDocument after 1 from document sourceDocument
starting with 1 number of pages 1-->this returns: Can't get file "FWB 6
GB:49067CustSerProf:vdfx.pdf"
end tell
Thanks in advance for any help
Rick
_______________________________________________
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.