Jump to content
Sign in to follow this  
Diana (Cda)

Simple AI file to launch a URL?

Recommended Posts

Diana (Cda)

I've searched here and looked in the help files but can't seem to find anything on how to do this. I need a script that when clicked will just open up my browser and go to a specific URL.

TIA for any help! :D

Share this post


Link to post
Share on other sites
MHz

Please use support forum for support next time.

Now, easiest way is using @ComSpec to achieve this

RunWait(@ComSpec & ' /c start http://www.autoitscript.com', '', @SW_HIDE)

That should open your default browser and get the AutoIt page up to view.

:D

Share this post


Link to post
Share on other sites
Diana (Cda)

Please use support forum for support next time.

Now, easiest way is using @ComSpec to achieve this

RunWait(@ComSpec & ' /c start http://www.autoitscript.com', '', @SW_HIDE)
That should open your default browser and get the AutoIt page up to view.:D
Oops, so very sorry I used wrong forum. But thank you very much for the code; it works perfectly!

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.