Re: How to maximize Safari windows?
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