narayanjr Posted May 27, 2007 Posted May 27, 2007 Run(@ComSpec & ' /c start " " "http://megaupload.com/"', "", @SW_HIDE) im using that to open up a web page after i open it i use the same thing to try and open up another window but it just uses the one i already opened how do i make it open a new window?
Zedna Posted May 27, 2007 Posted May 27, 2007 You must configure your web browser for that (whether use existing window or open it in new one). Resources UDF ResourcesEx UDF AutoIt Forum Search
herewasplato Posted May 28, 2007 Posted May 28, 2007 (edited) Instead of Run(@ComSpec & ' /c start " " "http://megaupload.com/"', "", @SW_HIDE) consider ShellExecute("http://megaupload.com/") Edit: which browser and version are you using? IE6, IE7, FireFox 2, Opera... Edited May 28, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size]
star2 Posted May 28, 2007 Posted May 28, 2007 (edited) I had the same problem befor I'm using MS IE 6 and this script worked fine with me _IECreate ("www.google.com", 0, 1, 0, 0) see ya Edited May 28, 2007 by star2 [quote]Baby you're all that I want, When you're lyin' here in my armsI'm findin' it hard to believe, We're in heavenAnd love is all that I need , And I found it there in your heartIt isn't too hard to see, We're in heaven .Bryan Adams[/quote].............................................................................[u]AUTOIT[/u]
narayanjr Posted May 28, 2007 Author Posted May 28, 2007 I am using the newest fire fox but i want it to work on what ever computer in my house I am using it on. There are different browsers on each one because not everyone likes the same one. i figured out how to get it to work. Its not the best way but it works. It makes the first window open just like normal. then instead of calling the function again i made it save the page its on to favorites then does Control + n which makes a new window in all browsers then i have it open the favorites/bookmarks tab and hit up once so it goes to the newest one added then it hits enter and works. but thanks for the help ill probably try to get it to work with them. Func _KillIExplore($ietry = 10) $oShell = ObjCreate("shell.application") $oShell.MinimizeAll Sleep(1000) Run(@ComSpec & ' /c start " " "http://megaupload.com/"', "", @SW_HIDE) EndFunc ;==>_KillIExploreoÝ÷ Ù«¢+ÙÕ¹}9Ý]¥¹½Ü ¤(%M¹ ÅÕ½ÐíyÅÕ½Ðì¤(%ͱÀ ÄÀÀÀ¤(%M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì¤(%ͱÀ ÄÀÀÀ¤(%M¹ ÅÕ½Ðíy¸ÅÕ½Ðì¤(%M±À ÔÀÀÀ¤(%M¹ ÅÕ½ÐìÌÌíÅÕ½Ðì¤(%ͱÀ ÔÀÀ¤(%M¹ ÅÕ½ÐííUAôÅÕ½Ðì¤(%M±À ÔÀÀ¤(%M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì¤(%M±À ÔÀÀ¤(%M¹ ÅÕ½ÐìÌÌíÅÕ½Ðì¤(%ͱÀ ÔÀÀ¤(%M¹ ÅÕ½ÐííUAôÅÕ½Ðì¤(%M±À ÔÀÀ¤(%M¹ ÅÕ½Ðíí9QIôÅÕ½Ðì¤(%M±À ÔÀÀ¤($(%]¥¹]¥Ð ÅÕ½Ðí5UA1=ÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì¤(%M±À ÌÀÀÀ¤(%µ½Õ͵½Ù ØÀÀ°ÄÄÀ°Ä¤(%M±À ÈÀÀÀ¤($)¹Õ¹
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