Re: Acrobat
Re: Acrobat
- Subject: Re: Acrobat
- From: Rick Norman <email@hidden>
- Date: Tue, 25 Mar 2003 16:48:10 -0600
Shane,
You know your stuff, I replaced the line as you instructed with this
"insert pages document "File_vdfx.pdf" after afterPage from document
"File_vdfy.pdf" starting with firstPage number of pages numPages"
and it works like a charm. The only issue I have with this is having to hard
code the names into the script as there may be dozens of these to do at a
time. Is this the only way this will work, or as an AS Kindergartner I'm I
missing something else. Even if this is it, it is 100% better than doing it
manually.
Thanks again,
Rick Norman
>
From: Shane Stanley <email@hidden>
>
Date: Wed, 26 Mar 2003 08:56:05 +1100
>
To: AS lists <email@hidden>
>
Subject: Re: Acrobat
>
>
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.
_______________________________________________
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: Acrobat (From: Shane Stanley <email@hidden>) |