Search found 551 matches

by admin
18 Jan 2019, 09:25
Forum: HOW-TOs and documentation
Topic: Keystrokes allowed to pass through
Replies: 2
Views: 2140

Re: Keystrokes allowed to pass through

I need to pin this statement somewhere as I wrote it many times already here :-). Luamacors (and Hidmacros) use kind of hack to block original key as Windows OS is not designed to separate different keyboards. This hack works in 90% situations but some (other) application are written in way that the...
by admin
15 Jan 2019, 08:42
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 8
Views: 875

Re: I need your help about LuaMacros script starting with windows

You should put there shortcut to luamacos.exe with script name as parameter in target of such shortcut. This is not different for luamacros like running any other programm with parameter (file name)
by admin
14 Jan 2019, 09:02
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 8
Views: 875

Re: I need your help about LuaMacros script starting with windows

Do you put there shortcut to luamacros.exe with "Start in folder" with correct directory, where luamacros is installed?
by admin
07 Jan 2019, 10:02
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 8
Views: 875

Re: I need your help about LuaMacros script starting with windows

What is not recognized? Do you have problems to start luamacros.exe or luamacros is started but lua script is not loaded into it?
by admin
25 Dec 2018, 22:40
Forum: General
Topic: Mechanical Push Button in Xplane Cockpit mapping
Replies: 2
Views: 246

Re: Mechanical Push Button in Xplane Cockpit mapping

Solution 1) remember the "state" in some lua variable and based on this send the oposit
Solution 2) instead of remebering the value in lua var, read the dataref first on every (appropriate) key press and send the other value
by admin
18 Dec 2018, 09:22
Forum: General
Topic: lmc_get_button
Replies: 1
Views: 229

Re: lmc_get_button

ad 1) this should work, just make sure you define isF2 in global scope (not inside f2 handler only). I'm using such 'global' variables in my scripts, you can check lmc.lua in source repo
ad 2) as the message says - lmc_get_button is only for game devices (joystick) buttons, not for keyboards
by admin
11 Dec 2018, 09:13
Forum: Support - bugs
Topic: Hid macros is not working while using powermixer with a midi controller.
Replies: 4
Views: 521

Re: Hid macros is not working while using powermixer with a midi controller.

Luamacros but you need to know how to write lua scripts.
Older version of hidmacros can be found at download page. MIDI was added in 2.3, so try 2.2
by admin
10 Dec 2018, 09:24
Forum: Support - bugs
Topic: Hid macros is not working while using powermixer with a midi controller.
Replies: 4
Views: 521

Re: Hid macros is not working while using powermixer with a midi controller.

Unfortunately not. Hidmacros has MIDI input as "experimental feature" and seems it claims the interface exclusively so no other application with MIDI support can run.
As I can not build Himacros any more this won't be changed/fixed.
by admin
05 Dec 2018, 20:43
Forum: General
Topic: Problem Delay script
Replies: 9
Views: 1032

Re: Problem Delay script

Code: Select all

print(lmc_get_window_title())
Assign to variable, do some ifs, just scripting.

ad 1&2) no, not possible. Maybe if lua can somehow get list of running apllications (processes) you could write some logic to script. But no direct support in luamacros
by admin
03 Dec 2018, 17:31
Forum: General
Topic: Problem Delay script
Replies: 9
Views: 1032

Re: Problem Delay script

For 3) use command line parameter -r and see viewtopic.php?f=12&t=270