WolfWorld Posted December 15, 2007 Share Posted December 15, 2007 I have a reason to do this stupid thing. Here the question can i write some thing like this $code = 'if $aaa = 5 then' $code &= @LF &'msgbox(0,'cool','ya')' $code &= @LF &'endif' then run the code in autoit without creating a file or anything Sorry for my english Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Armand Posted December 15, 2007 Share Posted December 15, 2007 in order to run an AU3 script u need to have AU3 interperator installed. if so yes, you can run the script from the .AU3 file. if you want the au3 script to run on another comp without the interperator's nessesity u should compile it. ___________ if you were asking for syntex help: $a = 5 if $a = 5 then msgbox(0,'cool','ya') endif please eleborate u'r explanation ! [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
WolfWorld Posted December 15, 2007 Author Share Posted December 15, 2007 (edited) like runing vb in compiled-autoit using ObjCreate("ScriptControl") i want to run autoit in compiled-autoit How ?? Edited December 15, 2007 by athiwatc Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
Armand Posted December 15, 2007 Share Posted December 15, 2007 if u want to compile the script just compile it using the 'compile script to .exe' in the programs menu or through scite if u have it installed and it'll work just like any other program. [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
WolfWorld Posted December 15, 2007 Author Share Posted December 15, 2007 like runing vb in compiled-autoit using Local $vbs = ObjCreate("ScriptControl") $vbs.language = "vbscript" $vbs.Timeout = -1 $vbs.addcode ($code) $vbs.Run() i want to run autoit in compiled-autoit like Local $vbs = ObjCreate("ScriptControl") $vbs.language = "autoitscript" $vbs.Timeout = -1 $vbs.addcode ($code) $vbs.Run() BUT IT DOESNOT WORK How ?? This does make it clear Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! 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