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

Re: Acrobat


  • Subject: Re: Acrobat
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 26 Mar 2003 08:56:05 +1100

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.

  • Follow-Ups:
    • Re: Acrobat
      • From: Rick Norman <email@hidden>
References: 
 >Acrobat (From: Rick Norman <email@hidden>)

  • Prev by Date: Re: Script to Copy/Paste Entourage Message Bodies
  • Next by Date: Re: Script to Copy/Paste Entourage Message Bodies
  • Previous by thread: Acrobat
  • Next by thread: Re: Acrobat
  • Index(es):
    • Date
    • Thread