Sign in to follow this  
Followers 0
GordonFreeman

How can i pass a var to it?

6 posts in this topic

#1 ·  Posted (edited)

Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''Hello World!'', ''Hi!'')"')

Hi friends!

How can i pass a var to this code

$var = "Hello World!"

I found this example, my problem is with _IEAction in this code i need pass a var

Edited by GordonFreeman

Share this post


Link to post
Share on other sites



You mean like this?

$var = "Hello World!"
MsgBox(0, "Title", $var)

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Sorry bud, I can't seem to figure out the correct combination of single and double quotes to use..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

 

Here's one combination.

$Var = "Hello World!"
Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''' & $Var & ''', ''Hi!'')"')

Nice! Thanks man!

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