Re: Acrobat
Re: Acrobat
- Subject: Re: Acrobat
- From: Shane Stanley <email@hidden>
- Date: Wed, 26 Mar 2003 08:56:05 +1100
On 26/3/03 4:40 AM +1000, Rick Norman, email@hidden, wrote:
>
Can someone tell me why this returns the error that
>
it can't get the alias "Drive:Folder:File" access not allowed.
>
OS 9.2, SE 1.5.5 and AS 1.5.5
>
>
set destDocument to choose file with prompt "Destination Document"
>
set sourceDocument to choose file with prompt "Source Document"
>
set afterPage to 1
>
set firstPage to 1
>
set numPages to 1
>
tell application "Acrobat 4.0"
>
activate
>
open destDocument
>
open sourceDocument
>
insert pages destDocument after afterPage from sourceDocument starting
>
with firstPage number of pages numPages
>
end tell
You're passing the insert pages command references to files rather than
documents. You need to get the names of the documents, and use:
insert pages document nameOfDestDocument after afterPage from document
nameOfDourceDocument starting with firstPage number of pages numPages
--
Shane Stanley, email@hidden
_______________________________________________
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: | |
| >Acrobat (From: Rick Norman <email@hidden>) |