Jump to content

Recommended Posts

Posted

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
Posted

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
  • Developers
Posted

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.
  :)

Posted (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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

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
×
×
  • Create New...