Re: Preview.app scriptable
Re: Preview.app scriptable
- Subject: Re: Preview.app scriptable
- From: Yvan KOENIG <email@hidden>
- Date: Wed, 13 Jan 2010 18:32:21 +0100
Le 13 janv. 2010 à 18:13, Gmeiner Jobst a écrit : Hi Robert,
thank you for your script. I tried already to script 'System events' but the 'first window' doesn't accept anything, size, bounds or position ?! i.e.:
tell application "System Events" to set appList to name of application processes whose frontmost is true set frontApp to item 1 of appList tell application frontApp set bounds of window 1 to {730, 1, 1630, 700} end tell
the error: number -10006 from bounds of window 1
Is this behaviour specific for Snow Leopard?
Regards Jobst
You read wrongly the Robert's script.
It was not 'speaking' to the application frontApp but to application process frontApp.
I think that this difference is the wrongdoer.
Yvan KOENIG (VALLAURIS, France) mercredi 13 janvier 2010 18:32:03
|
_______________________________________________
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