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

Re: Acrobat bounds...


  • Subject: Re: Acrobat bounds...
  • From: David Crowe <email@hidden>
  • Date: Tue, 13 Jan 2004 22:43:42 -0800

Nigel;

Thanks for your suggestion...
>
>tell application "Acrobat 6.0 Professional"
> set actDoc to name of active doc
> repeat with x from 1 to count of documents
> if name of document x = actDoc then
> return bounds of document x
> end if
> end repeat
>end tell
>


... I don't actually need the loop. It is possible to use the reference:


tell application "Acrobat 6.0 Professional"
set WindowBounds to bounds of active doc
end tell


Annoyingly you have to set the "zoom type" on "PDF Window 1"
(frontmost window), whereas previously you could set both on "PDF
Window 1".

Plus you now need to set the zoom type to "fit visible width" not "fit width".

Does Adobe screw up their AppleScript implementations deliberately,
or do they just not care?

- David Crowe
_______________________________________________
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 bounds...
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Quicktime Broadcaster record file name
  • Next by Date: Re: Text Selection in Mail.app
  • Previous by thread: Quicktime Broadcaster record file name
  • Next by thread: Re: Acrobat bounds...
  • Index(es):
    • Date
    • Thread