• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Scripting Acrobat woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: RE: ignore icon file how?
  • Next by Date: RE: ignore icon file how?
  • Previous by thread: Xpress libraries
  • Next by thread: Re: Scripting Acrobat woes
  • Index(es):
    • Date
    • Thread