Jump to content
Sign in to follow this  
grasshopper3

open a URL without a browser

Recommended Posts

grasshopper3

I feel like this should be a simple thing to do, but it is escaping me at the moment.

I want to be able to send this...

$UpdateString = "start http://" & $Array[$i] & "/xbmcCmds/xbmcHttp?command=ExecBuiltIn(CleanLibrary(video))"
Run(@ComSpec & " /c " & $UpdateString,"", @SW_HIDE)

without opening a browser window.

Share this post


Link to post
Share on other sites
sahsanu

I want to be able to send this...

$UpdateString = "start http://" & $Array[$i] & "/xbmcCmds/xbmcHttp?command=ExecBuiltIn(CleanLibrary(video))"
Run(@ComSpec & " /c " & $UpdateString,"", @SW_HIDE)

without opening a browser window.

Try it using _IECreate:

_IECreate ("http://" & $Array[$i] & "/xbmcCmds/xbmcHttp?command=ExecBuiltIn(CleanLibrary(video))",0,0)

Share this post


Link to post
Share on other sites
grasshopper3

That worked, but you forgot to mention _IEQuit(). I am open to other solutions if anyone has some. Thanks.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.