0000 Posted December 16, 2007 Share Posted December 16, 2007 Hi. I'm creating bot with private settings ;D for every PC... So I have 2 Sources... 1 bot , 2 Style + Option menu.... I want create smthing Like: Ppl set Options push Create Bot... And here is bot + options... I tried to make like that: On push: FileWrite($file, "Bot source") FileWrite($file,"...") FileWrite($file,"...") ... And then Compile with cmd... X:\Program Files\AutoIt3\Aut2Exe\Aut2exe.exe /in C:\Bot.au3 /out C:\Bot.exe /nopack But it didin't work, because FileWrite can't read a lot of " " " " or () )()()( ) .... So I need some ideas how to that :] and some examples... Thanx. Mr. 0000 Link to comment Share on other sites More sharing options...
Confuzzled Posted December 16, 2007 Share Posted December 16, 2007 "CHR" in the Help file may assist, along with string concatenation... Link to comment Share on other sites More sharing options...
Developers Jos Posted December 16, 2007 Developers Share Posted December 16, 2007 But it didin't work, because FileWrite can't read a lot of " " " " or () )()()( ) ....So I need some ideas how to that :]FileWrite can write any character... show an example that shows it doesn't work ... 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 More sharing options...
0000 Posted December 16, 2007 Author Share Posted December 16, 2007 FileWrite($file, "HotKeySet ( "i" , "inventory")" @CRLF) ;///////// FileWrite($file, "Func _i()"@CRLF) FileWrite($file, "HotKeySet ( "i")"@CRLF) ; set key FileWrite($file, "WinActivate("MyGame")"@CRLF) FileWrite($file, "send("i")"@CRLF) ; opens inventory ;;; Here will be inventory reading items ;; compare them to the list FileWrite($file, "HotKeySet ( "i" , "inventory" )"@CRLF) ;set func FileWrite($file, "EndFunc")"@CRLF) ;end. Here are a lot off errors with <"> and <)(>. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 16, 2007 Developers Share Posted December 16, 2007 none of these lines are valid...but the simple solution is :FileWrite($file, 'HotKeySet ( "i" , "inventory")' & @CRLF) 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 More sharing options...
ChrisL Posted December 16, 2007 Share Posted December 16, 2007 if you look here at my _procWatch() script you will see that I do what you are trying to do kind of. http://www.autoitscript.com/forum/index.php?showtopic=48614It writes a new script to watch over my main script [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
0000 Posted December 16, 2007 Author Share Posted December 16, 2007 Thanx for good ideas...I will try 1 example Then other Really thanx 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