Re: Q: FireFox Close Window?
Re: Q: FireFox Close Window?
- Subject: Re: Q: FireFox Close Window?
- From: "Jonathan Levi, M.D." <email@hidden>
- Date: Fri, 24 Aug 2007 22:34:25 -0400
On Thu, 16 Aug 2007 11:07:26 -0400, Marc Glasgow <email@hidden> wrote:
I know FireFox has a very weak dictionary (weakest I've ever seen),
but I would expect it would at least support the standard windowing
commands (argg!).
To minimize the issue at hand to just the relevant issues, does
anyone know how to tell FireFox to close either the front window or
all windows, without quitting the app?
The following (tested once!), using System Events, closes FireFox's
front window:
tell application "System Events" to tell process "firefox-bin"
set frontmost to true
keystroke "w" using command down
end tell
HTH,
Jonathan
_______________________________________________
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