• 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: 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

References: 
 >How to maximize Safari windows? (From: Jim Krenz <email@hidden>)
 >Re: How to maximize Safari windows? (From: Luther Fuller <email@hidden>)
 >Re: How to maximize Safari windows? (From: KOENIG Yvan <email@hidden>)
 >Re: How to maximize Safari windows? (From: Luther Fuller <email@hidden>)
 >Re: How to maximize Safari windows? (From: Robert Poland <email@hidden>)
 >Re: How to maximize Safari windows? (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: InDesign C3: Cross-media export?
  • Next by Date: Modify file type/creator from AS?
  • Previous by thread: Re: How to maximize Safari windows?
  • Next by thread: Re: How to maximize Safari windows?
  • Index(es):
    • Date
    • Thread