Re: How to maximize Safari windows?
Re: How to maximize Safari windows?
- Subject: Re: How to maximize Safari windows?
- From: Joe <email@hidden>
- Date: Wed, 7 May 2008 20:07:56 -0700
Philip Aker wrote:
>On 08-05-07, at 14:11, Robert Poland wrote:
>
>>How can this begin to work if Firefox doesn't even have a dictionary?
>>
>
>Any application can be made minimally scriptable by setting the "NSAppleScriptEnabled" key of its Info.plist file to string "YES" (or equivalent boolean 'Yes').
>
>Secondly, it responds to 'size' and 'position' for windows when controlled by System Events. If you want dynamic instead of hard-wired use the 'click' command:
This seems like a good time to ask this question.
Although Firefox doesn't have a dictionary, it does yield some information about itself with AppleScript.
tell application "Firefox"
set props to properties of front window
end tell
>From this you can get info such as window URL, title and bounds.
Just curious, since I've seen these examples and wondered where they came from.
Joe
_______________________________________________
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