Re: Scripting Acrobat woes
Re: Scripting Acrobat woes
- Subject: Re: Scripting Acrobat woes
- From: Shane Stanley <email@hidden>
- Date: Wed, 22 Nov 2000 08:10:27 +1100
On 22/11/00 3:13 AM +1000, Pitcher, George, email@hidden, wrote:
>
tell application "Acrobat Exchange 3.0"
>
set pagecount to count PDPages of "myfile"
>
insert pages "myfile"
>
after pagecount
>
from "sourcefile"
>
starting with 1
>
number of pages 1
>
end tell
If myFile is the name of the document, you should be saying:
document "myfile"
If it's a reference, you should be saying myfile without the quotes. Same
with sourcefile.
And,
>
insert pages "myfile"
>
after pagecount
>
from "sourcefile"
>
starting with 1
>
number of pages 1
should all be on one line.
--
Shane Stanley, email@hidden