sumkid 0 Posted September 8, 2007 (edited) hey, anyway i can use maybe fileread to open a text document and get some info from there and then paste it somewhere else? like maybe if there are multiple lines of code so it will try line 1, then line 2 ETC. (not for a keylogger no worries :-P ) Edited September 8, 2007 by sumkid Share this post Link to post Share on other sites
SmOke_N 211 Posted September 8, 2007 FileRead or FileReadLine ClipPut ---- Look at ControlSend Or ControlSetText Or just Send Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Share this post Link to post Share on other sites
The Kandie Man 5 Posted September 8, 2007 (edited) Yes, here is the example for FileReadLine() in the help file:$file = FileOpen("test.txt", 0) ; Check if file opened for reading OK If $file = -1 Then MsgBox(0, "Error", "Unable to open file.") Exit EndIf ; Read in lines of text until the EOF is reached While 1 $line = FileReadLine($file) If @error = -1 Then ExitLoop MsgBox(0, "Line read:", $line) Wend FileClose($file) Then look at Send() or ControlSend() or ControlSetText() to place the read text into some sort of edit control. If you want more help, please post the code you have so far. We aren't going to to spend time doing something for you that you yourself wouldn't even spend time doing. More than willing to push you in the right direction though. EDIT: Beaten by Smoke_N - The Kandie Man ;-) Edited September 8, 2007 by The Kandie Man "So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire Share this post Link to post Share on other sites
sumkid 0 Posted September 8, 2007 thanks for the fast replys! this will help greatly! Share this post Link to post Share on other sites