my code looks like this
tell application \"Firefox\"
open location \"http://rubyquicktips.tumblr.com/\"
end tell
but if I have Firefox open, t
I'm not entirely familiar with AppleScript, but I was looking to open a brand new default window. Here's a method that works:
tell application "System Events"
tell process "Firefox"
click menu item "New Window" of menu "File" of menu bar 1
end tell
end tell
Optionally, to focus on the new window, add these lines afterward:
tell application "Firefox"
activate
end tell
This will open a default new window. There may be a better way.