FinalVersion Posted May 6, 2009 Share Posted May 6, 2009 Example.txt nameco coord red But the txt file could be more or less lines. I know its IniReadSectionNames() for ini's. Help is appreciated. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
exodius Posted May 6, 2009 Share Posted May 6, 2009 Look into the function _FileReadToArray, it has an example that'll show you what to do. Link to comment Share on other sites More sharing options...
FinalVersion Posted May 6, 2009 Author Share Posted May 6, 2009 Look into the function _FileReadToArray, it has an example that'll show you what to do.My helpfile doesn't work Can you please post the example. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
exodius Posted May 6, 2009 Share Posted May 6, 2009 I can do that... But if your helpfile doesn't work you may want to do a fresh reinstall of AutoIt... #include <file.au3> Dim $aRecords If Not _FileReadToArray("error.log",$aRecords) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) Exit EndIf For $x = 1 to $aRecords[0] Msgbox(0,'Record:' & $x, $aRecords[$x]) Next Link to comment Share on other sites More sharing options...
FinalVersion Posted May 6, 2009 Author Share Posted May 6, 2009 I can do that... But if your helpfile doesn't work you may want to do a fresh reinstall of AutoIt... #include <file.au3> Dim $aRecords If Not _FileReadToArray("error.log",$aRecords) Then MsgBox(4096,"Error", " Error reading log to Array error:" & @error) Exit EndIf For $x = 1 to $aRecords[0] Msgbox(0,'Record:' & $x, $aRecords[$x]) NextThanks, but I've tried that a couple times. Its a problem from ie. [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
exodius Posted May 6, 2009 Share Posted May 6, 2009 (edited) Then I guess you're stuck with this...Although there's surely got to be a reason for why it doesn't work... I would think that would really hinder you to not have that handy to reference.*Edit - Looks like that doesn't include UDFs though, (like _FileReadToArray) Edited May 6, 2009 by exodius Link to comment Share on other sites More sharing options...
AlmarM Posted May 6, 2009 Share Posted May 6, 2009 Check my _FileFindString UDF in my signature AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. 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