How to run programs?

How can be this controlled in that simulator? Can HIDmacros be used with this application?
Post Reply
darkmag0
Posts: 1
Joined: 08 Dec 2019, 04:04

How to run programs?

Post by darkmag0 » 22 Dec 2019, 20:25

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.

emielo
Posts: 8
Joined: 03 Sep 2018, 12:41

Re: How to run programs?

Post by emielo » 06 Jan 2020, 11:44

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

Post Reply