Page 1 of 1

documentation

Posted: 29 Oct 2016, 12:11
by mst
Hello,
I search a small documentation which commands are good for what!

For example: How can I start an exe-file?
'if (button == string.byte('C')) then lmc_spawn("calc")'
works well opening the win-calculator, but how can I open a custom application?

Thank verry much for a good answer ;-)

Re: documentation

Posted: 31 Oct 2016, 09:09
by admin
In general all available commands should be covered by HowTos section of this forum: http://www.hidmacros.eu/forum/viewforum.php?f=12
Some other documentation is at github wiki: https://github.com/me2d13/luamacros/wiki

To your question: lmc_spawn call external program. So any exe file at your path (or with the path included) can be started (like calc.exe)