Re: Scripting Preview
Re: Scripting Preview
- Subject: Re: Scripting Preview
- From: Robert Poland <email@hidden>
- Date: Sun, 14 Oct 2012 15:03:10 -0600
On Oct 14, 2012, at 1:55 PM, "koenig.yvan" < email@hidden> wrote: Le 14/10/2012 à 20:56, Robert Poland < email@hidden> a écrit : Hi,
I would like to, somehow, get the window in Preview to open in other than the stupid default little one.
Sent from my iPad Bob Poland Hello Robert
There is no AppleScript support for Preview.
Try to use an alternate application like the free Skim.app whose dictionary is huge :
Thanks Yvan,
Skim looks like a great alternate. Window bounds is scriptable and if you can find it the "preference" to set current location to default does as it says. Too bad Preview couldn't do that.
But since I'm doing a presentation on Preview it doesn't help.
A little more creative Googling and I found; tell application "Preview" activate tell application "Preview" to activate tell application "System Events" to tell process "Preview" tell window 1 set position to {0, 22} set size to {1500, 1440} end tell
Robert Poland 2.7 GHz Intel Core I5, 27” iMac 12 GB Ram, 1TB HD OS X 10.8.2 (12C54)
|
_______________________________________________
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