• 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: Inserting pages into Adobe Acrobat...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Inserting pages into Adobe Acrobat...


  • Subject: RE: Inserting pages into Adobe Acrobat...
  • From: "Wadson, David" <email@hidden>
  • Date: Thu, 31 Oct 2002 13:36:00 -0500

Sample coding in a variety of scripts for splitting and merging PDF files
can be found at members.shaw.ca/mactech...

> ----------
> From: David Crowe
> Sent: Thursday, October 31, 2002 11:14 AM
> To: email@hidden
> Subject: Inserting pages into Adobe Acrobat...
>
> I am trying to insert all pages from all selected PDF files into the
> first file (e.g. merge) using Adobe Acrobat 5.
>
> I have one big problem -- I can't get "insert pages" to work.
>
> A secondary problem is how to find the last page number, neither the
> 'insert pages' command seems to have any support for this, nor can I
> find a syntax that directly finds the last page. Executing a 'goto
> page' for 99999 and then finding the page number seems to be the best
> that I can do.
>
> Any suggestions, particularly on how 'insert pages' can be made to
> work would be appreciated.
>
> - David Crowe
>
>
> on MergePDFFile(FileList)
> tell DCroweUtilities
> set FileList to ASCII_Sort(FileList)
> end tell
> tell application "Acrobat 5.0"
> activate
> open first item of FileList
> repeat with aFile in FileList
> if aFile  first item of FileList then
> tell PDF Window 1
> goto page 99999 -- i.e. last page
> set LastPageNumber to number
> insert pages after
> LastPageNumber from aFile
> end tell
>
> end if
> end repeat
> end tell
> end MergePDFFile
> _______________________________________________
> 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.

  • Prev by Date: OS 9 vs. 0S X scripts?
  • Next by Date: Re: OS 9 vs. 0S X scripts?
  • Previous by thread: Inserting pages into Adobe Acrobat...
  • Next by thread: OS 9 vs. 0S X scripts?
  • Index(es):
    • Date
    • Thread