Search found 8 matches
- 21 Sep 2020, 08:54
- Forum: HOW-TOs and documentation
- Topic: Inserting text with one key
- Replies: 1
- Views: 2924
Re: Inserting text with one key
Found in on: https://2ndkeyboard.webnode.nl/uitleg-luamacros/ In LuaMacros: -- assign logical name to macro keyboard lmc_assign_keyboard('MACROS'); -- define callback for whole device lmc_set_handler('MACROS',function(button, direction) if (direction == 1) then return end -- ignore down if (button =...
- 06 Jan 2020, 11:44
- Forum: HOW-TOs and documentation
- Topic: How to run programs?
- Replies: 1
- Views: 3096
Re: How to run programs?
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: \\
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: \\
- 22 Aug 2019, 10:44
- Forum: HOW-TOs and documentation
- Topic: Basic Syntax
- Replies: 5
- Views: 7377
Re: Basic Syntax
I'm sorry, I think you need help from someone else (admin ?)
I'm working in a newer version of HID macros: Luamacros.
I thought it was working the same… but I think I was wrong.
I'm working in a newer version of HID macros: Luamacros.
I thought it was working the same… but I think I was wrong.
- 22 Aug 2019, 09:32
- Forum: HOW-TOs and documentation
- Topic: Basic Syntax
- Replies: 5
- Views: 7377
Re: Basic Syntax
For Alt-Tab you can just use 1 key.
if (button == 107) then -- Numpad 1
lmc_send_keys ("%&")
see also: https://github.com/me2d13/luamacros/wiki/List-of-Keys
if (button == 107) then -- Numpad 1
lmc_send_keys ("%&")
see also: https://github.com/me2d13/luamacros/wiki/List-of-Keys
- 22 Aug 2019, 07:29
- Forum: HOW-TOs and documentation
- Topic: Basic Syntax
- Replies: 5
- Views: 7377
Re: Basic Syntax
---------------------------------------------------- -- assign logical name to macro keyboard lmc_assign_keyboard('MACROS'); -- define callback for whole device lmc_set_handler('MACROS',function(button, direction) if (direction == 1) then return end -- ignore down -----------------------------------...
- 14 Dec 2018, 10:54
- Forum: HOW-TOs and documentation
- Topic: HID/LuaMacros Support for PMDG 737
- Replies: 1
- Views: 3330
Re: HID/LuaMacros Support for PMDG 737
When you're Dutch (or use google translate):
Explanation about using LuaMacros: https://2ndkeyboard.webnode.nl/uitleg-luamacros/
Examples: https://2ndkeyboard.webnode.nl/voorbeelden/
Explanation about using LuaMacros: https://2ndkeyboard.webnode.nl/uitleg-luamacros/
Examples: https://2ndkeyboard.webnode.nl/voorbeelden/
- 03 Sep 2018, 12:57
- Forum: HOW-TOs and documentation
- Topic: HOW TO Numpad Keys ?
- Replies: 2
- Views: 7301
Re: HOW TO Numpad Keys ?
lmc_send_keys ("^({NUM7})")
- 03 Sep 2018, 12:47
- Forum: HOW-TOs and documentation
- Topic: How to Alt + ...
- Replies: 2
- Views: 6197
Re: How to Alt + ...
lmc_send_keys ("%({NUM0}{NUM1}{NUM9}{NUM2})")