Is there a way to open a url in the current window of Firefox using Applescript?
I figured out how to open a specified url using open location:
tell application "Firefox" to open location "http://duckduckgo.com"
This, however, opens it in a new tab. I searched online and found a work-around that uses System Events to highlight the address bar and enter the url with keystrokes, but it'd be nice to find a more elegant solution (and it makes me chuckle every time I watch the url being ghost-typed in).
I'm running Firefox 3.6.28, which is the newest version that will run on my ppc mac (10.4.11).
Thanks for any help!