• 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
Re: How to maximize Safari windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to maximize Safari windows?


  • Subject: Re: How to maximize Safari windows?
  • From: Peter Bunn <email@hidden>
  • Date: Wed, 7 May 2008 11:42:18 -0500

For your own use (as opposed to a universal application), just set
Safari's window size to the dimensions you want:

tell application "Safari"
activate
--get bounds of front window
set bounds of front window to {0, 22, 1024, 768}
end tell

This works for a 12" PowerBook display... and (thankfully) obscures the
Dock, but can be modified to 'respect' the Dock if desired.

Manually set the Safari window, then get bounds, then set bounds.

Peter B.

-----
 _______________________________________________
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

  • Prev by Date: Re: How to maximize Safari windows?
  • Next by Date: Re: How to maximize Safari windows?
  • Previous by thread: Re: How to maximize Safari windows?
  • Next by thread: InDesign C3: Cross-media export?
  • Index(es):
    • Date
    • Thread