First of all, let me say thanks to everyone who worked on this project, this program is nothing short of amazing.
There has only been one thing I could not figure out. Is there a way to write information to a txt file? I'm using this Micromacro script along with a Autohotkey script that I wrote, and it would be great if I could send information from the former to the latter.
I have a hunch that this functionality is not available, but it doesn't hurt to ask.
Thanks
Output to txt file
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Output to txt file
Sure can. If you just want to do it for logging purposes, you can use the logMessage() or logRaw() functions. Otherwise, you can use Lua's standard output functions. See the manual: http://www.lua.org/manual/5.1/
Code: Select all
file = io.open("somefile.txt", "w");
file:write("some text");
file:close();