Jump to content

Script won't launch or won't exit after launching URLs in ShellExecute


LWC
 Share

Go to solution Solved by LWC,

Recommended Posts

When I launch URLs via ShellExecute, it just opens the browser without launching the chosen URL.

If the browser was already open on a blank page, the script won't exit itself.

If the browser was already open on another URLs, only then does the script exit properly.

I use IE6.

Edited by LWC
Link to comment
Share on other sites

never had a problem with that, and that function works fine for me whether the browser is open, closed, or whatever page its on.

I supect you have more to your code that which is causing your problem.

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

It doesn't matter what I use as it's a program others will use too. I can't tell them which browser to use.

I doubt anyone else will have a problem with the shellexecute.

This happen compiled also?

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

This happen compiled also?

Yes.

may we see your script and know what web browsers you are using?

ShellExecute("http://www.autoitscript.com")

I use IE6.

Yes, the above code is enough as a script of its own to trigger the issue. Edited by LWC
Link to comment
Share on other sites

I don't know what the code behind ShellExecute is and how it differs from the alternative code. But for the most part ShellExecute has been working very well and for all we know the alternative has issues as well.

It might be worth investigating though. (Just saw your ticket appear, so I guess it will be investigated)

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

×
×
  • Create New...