Sign in to follow this  
Followers 0
iHonda

Buttons Opening Websites

3 posts in this topic

how do i have a button open a website??? i tried using the Run() command but it didnt work


A great place to start Autoit 1-2-3

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use the "proper" run command

$url = "http://www.google.com"
Run(@ComSpec & ' /c @start ' & $url, '', @SW_HIDE)

#)

EDIT: RunWait > Run, @SW_SHOW > @SW_HIDE

Edited by nfwu

Share this post


Link to post
Share on other sites

You still didn't catch the @ in @start... it shouldn't be there.

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