NullDevice Posted April 7, 2010 Share Posted April 7, 2010 Hello, With Run() u can run .bat, .exe files and so on. But not .au3 ones, i think. Only if you compile them, but in that case i dont like to do so. And i also dont want to #include them, i just want to run them. I think i seen once that someone ran it by calling autoit.exe or something, with the file as parameter. Is that the best way to do it? Or is there a better way? Coz i need to get the return value of that script somehow... thx in advance, ND Link to comment Share on other sites More sharing options...
somdcomputerguy Posted April 7, 2010 Share Posted April 7, 2010 See the end solution in this thread, Run an AutoIt Script. - 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...
kaotkbliss Posted April 7, 2010 Share Posted April 7, 2010 you can Run() any file, as long as you include the program the file runs with. Run("Notepad.exe C:\AutoIt\AutoItlog.txt") that will open the AutoItlog.txt file in notepad. The same can be done with Au3 scripts. Run("C:\Program Files\AutoIt3\AutoIt3.exe D:\path to script\script.au3") quangthanhngo22 1 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! 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