Jump to content
Sign in to follow this  
escrima

Help The Noob. Thanks

Recommended Posts

escrima

$site = InputBox ( "Enter site", "Enter the site name:","","",-1,-1,0,0)
Run("C:\Program Files\Internet Explorer\Iexplore.exe $site")

This doesn't work. I can't find what i'm suppose to put in place so that the $site gets read and does not display "$site". Is there an easier way to do this? sorry this is such a stupid question.

Share this post


Link to post
Share on other sites
escrima

Run('"C:\Program Files\Internet Explorer\Iexplore.exe"' & " " & $site)
THANKS SO MUCH!

is there anywhere in the documentation that shows stuff like this so i won't have to bother you guys again?

Share this post


Link to post
Share on other sites
jbreetz

If you want to use the default browser, whatever that would be, I would do this

Run(RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\HTTP\shell\open\command","") & " " & $site)

JB

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.