Scripting Acrobat woes
Scripting Acrobat woes
- Subject: Scripting Acrobat woes
- From: "Pitcher, George" <email@hidden>
- Date: Tue, 21 Nov 2000 16:13:50 -0000
Hi,
I'm fiddling about with applescript and Acrobat Exchange 3.
I'm trying to insert a page at the end of the document. This is what I'm
typing:
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
But I get this error:
Acrobat Exchange 3.0 got an error "myfile" doesn't understand the insert
pages message.
Now I know from my smalltalk lessons that the object must be able to handle
certain messages else you get an error, but why doesn't myfile understand
this its a straightforward command?
Regards
George Pitcher
Technical Manager
HERON Project
Merchiston Learning Centre
Napier University
10 Colinton Road
Edinburgh EH10 5DT
Tel: 0131-455 2435
Fax: 0131-455 2249
www.heron.ac.uk