Sign in to follow this  
Followers 0
Achilles

Opening Mozilla Firefox w/two windows?

4 posts in this topic

Alright, I, as the title says, want to open Mozilla Firefox with two tabs open before I even see the window. Is this possible and if so how?

I've been using this (below) but it lets the user see the opening of the tab and the second address being sent.

ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe", "www.gmail.com", "", "open", @SW_HIDE)
        WinWaitActive("Mozilla Firefox") 
        Send("^t")
        Sleep(600) 
        Send("www.hotmail.com{enter}")

Any help greatly appreciated!


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites



"C:\Program Files\Mozilla Firefox\firefox.exe" "www.gmail.com" "www.hotmail.com"

right click create shortcut and use the entire line i posted as target... it will open firefox with both tabs....


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

sorry forgot to do it for autoit...

run("C:\Program Files\Mozilla Firefox\firefox.exe " &'"'&"www.gmail.com" &'"' &" " &'"' &"www.hotmail.com" &'"')

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0