• 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: Rick Norman <email@hidden>
  • Date: Tue, 25 Mar 2003 19:51:49 -0600

Thanks Shane,
Sorry I didn't see this solution, makes perfect sense, but there again I am
still somewhat Applescriptingly challenged.
Thanks Again,
Rick Norman

> From: Shane Stanley <email@hidden>
> Date: Wed, 26 Mar 2003 12:18:13 +1100
> To: AS lists <email@hidden>
> Subject: Re: Acrobat
>
> On 26/3/03 9:48 AM +1000, Rick Norman, email@hidden, wrote:
>
>> The only issue I have with this is having to hard
>> code the names into the script as there may be dozens of these to do at a
>> time. Is this the only way this will work, or as an AS Kindergartner I'm I
>> missing something else.
>
> There are several ways to do it. You could do it like this:
>
> set destDocument to choose file with prompt "Destination Document"
> set sourceDocument to choose file with prompt "Source Document"
> set oldDelims to AppleScript's text item delimiters
> set AppleScript's text item delimiters to {":"}
> set nameOfDestDocument to text item -1 of (destDocument as text)
> set nameOfSourceDocument to text item -1 of (sourceDocument as text)
> set AppleScript's text item delimiters to oldDelims
>
> set afterPage to 1
> set firstPage to 1
> set numPages to 1
> tell application "Acrobat 4.0"
> activate
> open destDocument
> open sourceDocument
> insert pages document nameOfDestDocument after afterPage from document
> nameOfSourceDocument starting with firstPage number of pages numPages
> end tell
>
> --
> 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.
_______________________________________________
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: 
 >Re: Acrobat (From: Shane Stanley <email@hidden>)

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