Re: Acrobat bounds...
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.