• 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
Re: Scripting Acrobat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Acrobat


  • Subject: Re: Scripting Acrobat
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 04 Dec 2002 07:44:57 +1100

On 4/12/02 3:42 AM +1000, John Fountain, email@hidden, wrote:

> Is there anyone out there familiar with scripting Acrobat 5?
> Specifically, I need to script replacing pages but I can't figure out
> the syntax.
>
> Heres the line I have:
>
> replace pages document 1 over 1 from "disk:sourcefile" starting with 5
> number of pages 1
>
> The error I get is "document 1 doesnt understand the replace pages
> message". I get the same error if I substitute AVPageView "windowname"
> or PDF window 1 of document 1 or pretty much any other reference I can
> think of for document 1

You need both documents open, and you need to refer to them by name, not
index.

And when it's done, you can't do a "save as" -- the changes will be saved to
the frontmost document.

--
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: 
 >Scripting Acrobat (From: John Fountain <email@hidden>)

  • Prev by Date: Re: "/" problems
  • Next by Date: Re: "/" problems
  • Previous by thread: Scripting Acrobat
  • Next by thread: Flow control from File Maker Pro
  • Index(es):
    • Date
    • Thread