How to load a URL in an existing Firefox window?

Hi!

I try to get an URL in Firefox, in a specific window, while other windows are open.

tell application "Firefox"
	Get URL "http://www.google.com" inside window 1
end tell

The above script makes a new window instead of loding the URL in the existing window 1 (asuming Firefox Prefs are set to “Open links from other applications in a new window”)

Any idea how this could be done?

Not that I could find. Firefox seems to insist on a new tab and doesn’t want to close the old one.

I’d say this behaviour is OK. Why don’t you set as pref “the most/recent tab window”?