Jump to content

Immediate Help need


Recommended Posts

Hi,

i want to open multiple url's in different windows...and for that i was using

$URL1="http://www.yahoo.com/"

ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL1,@ScriptDir

$URL2="http://www.google.com/"

ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL2,@ScriptDir

and everything was working so well, for some reason now i want to use firefox, issue is -- in firefox 2 seperate windows does not open, first yahoo open and then google open on the same window, where as i want it to open on new window..please help ...

for firefox, i am using exactly the same way

$URL1="http://www.yahoo.com/"

ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL1,@ScriptDir)

$URL2="http://www.google.com/"

ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL2,@ScriptDir)

Link to comment
Share on other sites

Hi,

i want to open multiple url's in different windows...and for that i was using

$URL1="http://www.yahoo.com/"

ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL1,@ScriptDir

$URL2="http://www.google.com/"

ShellExecuteWait("C:\Program Files\Internet Explorer\iexplore.exe",$URL2,@ScriptDir

and everything was working so well, for some reason now i want to use firefox, issue is -- in firefox 2 seperate windows does not open, first yahoo open and then google open on the same window, where as i want it to open on new window..please help ...

for firefox, i am using exactly the same way

$URL1="http://www.yahoo.com/"

ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL1,@ScriptDir)

$URL2="http://www.google.com/"

ShellExecuteWait("C:\Program Files\Mozilla Firefox\firefox.exe",$URL2,@ScriptDir)

I tested in win7 64bit and works fine

Link to comment
Share on other sites

I tested in win7 64bit and works fine

hi i am in win 7 32-bit

now, what happens is -

when i use this code

$URL1="http://www.bing.com/"

ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe",$URL1,@ScriptDir)

sleep(2000)

;MsgBox(0, "Example", "My variable is aha")

$URL2="http://www.google.com/"

ShellExecute("C:\Program Files\Mozilla Firefox\firefox.exe",$URL2,@ScriptDir)

sites r opening in tabs, i need seperate window..i m still not successful

Link to comment
Share on other sites

sites r opening in tabs, i need seperate window..i m still not successful

This is FF settings.

Go to Tools -> Options -> Tabs and uncheck the box for 'open in new tab'

(Sending alt-T then O will get you to that dialogue, too, if you want to try automating it.)

William

Link to comment
Share on other sites

This is FF settings.

Go to Tools -> Options -> Tabs and uncheck the box for 'open in new tab'

(Sending alt-T then O will get you to that dialogue, too, if you want to try automating it.)

William

thanks mate its done...ur right this was the issue.... 1 more thing..

how to maximize the windows ??

winActivate and Send("{F11}") should work but are not working.. how to achieve this ??

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...