Re: Preview.app scriptable
Re: Preview.app scriptable
- Subject: Re: Preview.app scriptable
- From: Axel Luttgens <email@hidden>
- Date: Wed, 13 Jan 2010 22:58:48 +0100
Le 13 janv. 2010 à 21:44:11, Gmeiner Jobst a écrit :
> Hi Robert and Yvan,
>
> thank you again for your mails. Now, I am totally confused and not amused!
>
> As I reported before, the 'first window' didn't move at all when scripted. By accident then I adressed window 2, and voilà, it did what it should (using 'size' and 'position' as you suggested, 'bounds' are not working).
>
> [...]
>
> Could you tell me by chance what's all about the 'ghost' window 1 of Preview.app ?
Hello Jobst,
Could you try this one:
tell application "System Events"
tell application process "Preview"
properties of windows
end tell
end tell
and show us the output?
Here, on 10.6.2, I get {} with no document opened in Preview.app, and a list with a single list with one document opened.
But no "ghost" window.
Perhaps a matter of Preview's preferences settings?
BTW, this allows to discover that the bounds property is not available. ;-)
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden