Sign in to follow this  
Followers 0
narayanjr

Run Dos

5 posts in this topic

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?

Share this post


Link to post
Share on other sites



#3 ·  Posted (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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 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]

Share this post


Link to post
Share on other sites

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±À ÈÀÀÀ¤($)¹Õ¹

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