Jump to content

Function Run


Recommended Posts

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

  • Developers

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...