brett Posted May 13, 2004 Share Posted May 13, 2004 Hey, i remember you can some how run internet explorer, and with a parameter, you can specify the URL it goes to. like this... Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE "$FTPURL"') But how would u add a var as the URL it should go to? Thanks, Brett -Brett Link to comment Share on other sites More sharing options...
Valik Posted May 13, 2004 Share Posted May 13, 2004 FAQ #9 in the help file should answer that question. Link to comment Share on other sites More sharing options...
brett Posted May 13, 2004 Author Share Posted May 13, 2004 k thanks -Brett Link to comment Share on other sites More sharing options...
brett Posted May 13, 2004 Author Share Posted May 13, 2004 I still can't get it, can you just post the code that would work? Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE "" & $URL') Thanks Brett -Brett Link to comment Share on other sites More sharing options...
scriptkitty Posted May 13, 2004 Share Posted May 13, 2004 $url="http://www.autoitscript.com" Run('C:\Program Files\Internet Explorer\IEXPLORE.EXE ' & $URL) close AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 13, 2004 Developers Share Posted May 13, 2004 a string is either between single or double quotes.in you case the whol;e thing is a string so the $URL or $FTPURL will not con that its value since it is treated as string...example:$FTPURL="http://www.microsoft.com"Run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" ' & $FTPURL) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
brett Posted May 13, 2004 Author Share Posted May 13, 2004 lol thanks! -Brett Link to comment Share on other sites More sharing options...
scriptkitty Posted May 13, 2004 Share Posted May 13, 2004 (edited) Make sure you have a space between the exe and the web address though!$FTPURL="http://www.microsoft.com"Run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" ' & $FTPURL)It is there, just hard to see Edited May 13, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now