Page 1 of 1

How to run programs?

Posted: 22 Dec 2019, 20:25
by darkmag0
I don't understand much about programming, I would like to know how to replace this: "elseif (button == 102) then
lmc_send_keys ('^ {f15}', 50) "instead of" ^ {f15} ", I would like to put in to open a specific program. sorry my english.

Re: How to run programs?

Posted: 06 Jan 2020, 11:44
by emielo
You can use function lmc_spawn to open the program. Just navigate to the path where you saved the program.
For example how I open Microsoft Word:

then lmc_spawn("C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\WINWORD.EXE")

Attention: : use 2 backslashes between the folders: \\