t0ddie Posted September 7, 2006 Share Posted September 7, 2006 (edited) here is a script i am using $i = IniRead("sites.ini","number","amount","NotFound") For $x = 1 to $i $var = IniRead("sites.ini","sites", $x, "NotFound") Run(@comspec & " /c start " & $var,@scriptdir, @SW_HIDE) Next here is the .ini [sites] 1=www.com 2=www.google.com 3=www.shmegma.com [number] amount=3 if i run the code as is, 3 browser windows open but only the last one goes to a webpage. if i add a sleep(1000) after run, the sites load better, but not in new windows. i want to open one new window for each site. what should i do? EDIT: also if you already have a webpage open it wont open a new browser window. it will just take you to the last page in the .ini and when no browser window is open SOMETIMES it will actually load 2 of the pages and not just one but still not all 3.. and i would like it to work with more than 3 anyways. Edited September 7, 2006 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
lod3n Posted September 7, 2006 Share Posted September 7, 2006 I think the problem is that you have Internet Explorer, or Firefox or whatever your default browser is set to reuse windows for launching shortcuts. Which browser are you using? [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
t0ddie Posted September 7, 2006 Author Share Posted September 7, 2006 I think the problem is that you have Internet Explorer, or Firefox or whatever your default browser is set to reuse windows for launching shortcuts. Which browser are you using?internet explorer but it would be nice to get it to work on all browsersso how can i adjust settings in ie? Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
lod3n Posted September 7, 2006 Share Posted September 7, 2006 Tools\Internet Options\Advanced Tab\Uncheck "Reuse windows for launching shortcuts" [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now