Jump to content

how to create a text file?


Recommended Posts

not found in the manual function of creating a text file. Please help

Look 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

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

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

@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

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 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...