GordonFreeman Posted February 10, 2014 Share Posted February 10, 2014 (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 February 10, 2014 by GordonFreeman Frabjous Installation Link to comment Share on other sites More sharing options...
somdcomputerguy Posted February 11, 2014 Share Posted February 11, 2014 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. Link to comment Share on other sites More sharing options...
GordonFreeman Posted February 11, 2014 Author Share Posted February 11, 2014 $Var = "Hello World!" Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, '' & $Var & '', ''Hi!'')"') Something like this, but who work Frabjous Installation Link to comment Share on other sites More sharing options...
somdcomputerguy Posted February 11, 2014 Share Posted February 11, 2014 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. Link to comment Share on other sites More sharing options...
Solution AdmiralAlkex Posted February 11, 2014 Solution Share Posted February 11, 2014 Here's one combination. $Var = "Hello World!" Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''' & $Var & ''', ''Hi!'')"') .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
GordonFreeman Posted February 11, 2014 Author Share Posted February 11, 2014 Here's one combination. $Var = "Hello World!" Run(@AutoItExe & ' /AutoIt3ExecuteLine "MsgBox(0, ''' & $Var & ''', ''Hi!'')"') Nice! Thanks man! Frabjous Installation 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