Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is Preview scriptable?



I am convinced I had the following script working in Preview to position and set the size of the frontmost window

tell application "Preview"
set bounds of window 1 to {0, 22, 1450, 1100}
end tell

Today I get an error "Preview got an error: Can’t set bounds of window 1 to {0, 22, 1450, 1100}."

I tried to check out the dictionary for Preview, but it does not appear in the list of applications in Script Editor.

A similar script works fine with Safari.

 
Regards,

Graham
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.