guillaume2k3 Posted October 20, 2008 Share Posted October 20, 2008 (edited) Hi everyone This is my first post on this board..so first of all, thanks to the AIT's dev team ! You guys have done a great job ) Here's my problem : I use AIT to generate a .reg file . I have a problem each time I try to insert a blank line, AIT returns the keyword "FALSE" into my .reg text file whereas I'm supposed to add a simple blank line... Is there anything I can do to force AIT to add a blank line ? I tried a FileWriteLine($handle,"") or a FileWriteLine($handle," ") but AIT doesn't stop returning the "FALSE" keyword instead of a real blank line.... Thanks. Edited October 20, 2008 by guillaume2k3 Link to comment Share on other sites More sharing options...
Andreik Posted October 20, 2008 Share Posted October 20, 2008 Hi everyone This is my first post on this board..so first of all, thanks to the AIT's dev team ! You guys have done a great job ) Here's my problem : I use AIT to generate a .reg file . I have a problem each time I try to insert a blank line, AIT returns the keyword "FALSE" into my .reg text file whereas I'm supposed to add a simple blank line... Is there anything I can do to force AIT to add a blank line ? I tried a FileWriteLine($handle,"") or a FileWriteLine($handle," ") but AIT doesn't stop returning the "FALSE" keyword instead of a real blank line.... Thanks.Use _FileWriteToLine(), is more simple. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
ChrisL Posted October 20, 2008 Share Posted October 20, 2008 What about FileWrite($handle,@CRLF) [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...
bluerein Posted October 20, 2008 Share Posted October 20, 2008 (edited) tryFileWriteLine($handle,@CRLF)editLOL Andreik... beat me to it!! Edited October 20, 2008 by bluerein Link to comment Share on other sites More sharing options...
Andreik Posted October 20, 2008 Share Posted October 20, 2008 #include <File.au3> $FILE = FileOpen($PATH,0) ;Path for your file For $INDEX = 2 To _FileCountLines($PATH) Step 2 _FileWriteToLine($PATH,$INDEX," ",0) Next FileClose($PATH) When the words fail... music speaks. 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