JamesWilcox Posted February 6, 2007 Share Posted February 6, 2007 Does anyone have an example of opening a file and reading the contents of the file in AutoIt v3 ? Link to comment Share on other sites More sharing options...
/dev/null Posted February 6, 2007 Share Posted February 6, 2007 Does anyone have an example of opening a file and reading the contents of the file in AutoIt v3 ?yes, it's in the help file. FileRead(). __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
JohnBailey Posted February 6, 2007 Share Posted February 6, 2007 Have you tried _FileReadToArray or FileRead ? I may not understand quiet what you're wanting to do. A decision is a powerful thing Link to comment Share on other sites More sharing options...
JamesWilcox Posted February 6, 2007 Author Share Posted February 6, 2007 I need to open a file and read the contents and send them to a control in an executable, is it possible? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 6, 2007 Moderators Share Posted February 6, 2007 I need to open a file and read the contents and send them to a control in an executable, is it possible?Look at $CmdLine in the help file. 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...
/dev/null Posted February 6, 2007 Share Posted February 6, 2007 I need to open a file and read the contents and send them to a control in an executable, is it possible?Yes. FileRead(). Why don't you read the help file and have a look at the sample scripts for FileRead(). Also see ControlSend(). __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * 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