Infinitex0 Posted February 27, 2006 Share Posted February 27, 2006 I'm looking at filewrite and where it says to put in the filename or filehandle, what is the filehandle? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 27, 2006 Moderators Share Posted February 27, 2006 The file handle is given when you open the file: $File_Open = FileOpen('FilePath', 2); $File_Open is the FileHandle 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. Link to comment Share on other sites More sharing options...
greenmachine Posted February 27, 2006 Share Posted February 27, 2006 $FileHandle = FileOpen ("FileName.txt", 2) The handle is the pointer directly to the open file. Link to comment Share on other sites More sharing options...
GioVit Posted February 27, 2006 Share Posted February 27, 2006 I'm looking at filewrite and where it says to put in the filename or filehandle, what is the filehandle? The fileandle is returned by the FileOpen function. Link to comment Share on other sites More sharing options...
Infinitex0 Posted February 27, 2006 Author Share Posted February 27, 2006 so the filename issss? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 27, 2006 Moderators Share Posted February 27, 2006 (edited) $FileName = @DeskTopDir & '\File.txt'; File Name/Path $File_Open = FileOpen($FileName, 2); FileHandle Edit: Code tags backwords Edited February 27, 2006 by SmOke_N 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. 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