pDanil2006 Posted January 6, 2009 Share Posted January 6, 2009 not found in the manual function of creating a text file. Please help Link to comment Share on other sites More sharing options...
martin Posted January 6, 2009 Share Posted January 6, 2009 not found in the manual function of creating a text file. Please helpLook up FileOpen in the help.Welcome to AUtoIt Forms Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
pDanil2006 Posted January 6, 2009 Author Share Posted January 6, 2009 (edited) hello! FileOpen ( "filename", mode ) ? This feature allows you to open files. And how to create empty TXT files? Please write the code. Edited January 6, 2009 by pDanil2006 Link to comment Share on other sites More sharing options...
BigDod Posted January 6, 2009 Share Posted January 6, 2009 hello! FileOpen ( "filename", mode ) ? This feature allows you to open files. And how to create empty TXT files? Please write the code.Lookup _FileCreate in the help file Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Innovative Posted January 6, 2009 Share Posted January 6, 2009 What is _FileCreate or FileWrite to you from the help files ? Link to comment Share on other sites More sharing options...
FireFox Posted January 6, 2009 Share Posted January 6, 2009 FileWrite("yourfile.txt","") Cheers, FireFox. Link to comment Share on other sites More sharing options...
pDanil2006 Posted January 6, 2009 Author Share Posted January 6, 2009 Very thanks! Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 6, 2009 Share Posted January 6, 2009 Hmmm FireFox. You like to give the fish too often instead of teaching how to fish. If the OP had looked it up he would have see that 1) if the file doesn't exist, it is created and 2) that he needed the extension. Not a knock on you but it would encourage that they use the help file before coming here for such low research questions. Giggity Link to comment Share on other sites More sharing options...
FireFox Posted January 6, 2009 Share Posted January 6, 2009 @youknowwho4eva sure....but when im on my iPod I prefer to be efficient and when Im on my computer I give some examples.... I think that newbies asking for stupid questions should after getting answer look at helpfile for more information... and here the fish is given Cheers, FireFox. Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 6, 2009 Share Posted January 6, 2009 I only use my iPhone for emergency forum checking (I think I've used it once to check a PM from Jos) . way to much to forum on the iPhone. Besides I'm always near a computer. Giggity Link to comment Share on other sites More sharing options...
martin Posted January 6, 2009 Share Posted January 6, 2009 (edited) hello! FileOpen ( "filename", mode ) ? This feature allows you to open files. And how to create empty TXT files?Since you haven't been able to read the help file I have placed the relevant part from the description for FilOpen here Both write modes will create the file if it does not already exist. The folder path must already exist ....It is worth looking in the help as I suggested because had you done that you would have seen an example. By reading the explanation you would have been able to make a very small change to the example to do what you asked for. Please write the code.Please give me a break. Edited January 6, 2009 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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