• 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: Philip Aker <email@hidden>
  • Date: Wed, 07 May 2008 14:53:11 -0700

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:

try
set apli to "Firefox"
tell application "System Events" to tell application process apli
tell first window
--set size to {1622, 1000}
--set position to {0, 22}
click button 2
end tell
set frontmost to true
end tell
on error
beep
end try


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Sent from my SE/30



 _______________________________________________
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: How to maximize Safari windows?
      • From: Joe <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>)

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