• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is Preview scriptable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is Preview scriptable?


  • Subject: Is Preview scriptable?
  • From: Graham Sims <email@hidden>
  • Date: Sun, 27 Jan 2008 21:57:54 +0000

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is Preview scriptable?
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Mail Signature Automation
  • Next by Date: Re: Is Preview scriptable?
  • Previous by thread: Re: Mail Signature Automation
  • Next by thread: Re: Is Preview scriptable?
  • Index(es):
    • Date
    • Thread