Search found 450 matches

by admin
20 Nov 2017, 09:05
Forum: General
Topic: Hotkey for teamspeak or mumble
Replies: 1
Views: 90

Re: Hotkey for teamspeak or mumble

If original key is blocked in other application (like notepad) then yes - it's using "lower API" that luamacros cannot block.
by admin
13 Nov 2017, 22:12
Forum: HowTos
Topic: Web server
Replies: 4
Views: 5685

Re: Web server

Isn't this request answered by previous post? lmc_http_get to localhost page?
by admin
13 Nov 2017, 09:09
Forum: General
Topic: button combination
Replies: 6
Views: 268

Re: button combination

I think you need to go through some Lua tutorial if you want to use LuaMacros. Your script has a few problems - you're not initializing Qdown - in global scope Qdown is function (not boolean) so your if doesn't work as you would expect - setting Qdown in handler probably creates just local boolean v...
by admin
10 Nov 2017, 09:31
Forum: General
Topic: button combination
Replies: 6
Views: 268

Re: button combination

When using lmc_set_handler for specific key (not whole keyboard) it has parameters:
  • Device name
  • Button number
  • Direction 1 = down, 0 = up
  • handler
So you should have 2 handler functions for "shift" key - one for key press which sets your shift = true and second for relese which sets shift = false
by admin
09 Nov 2017, 09:29
Forum: General
Topic: button combination
Replies: 6
Views: 268

Re: button combination

This should be easy to implement using variable, shouldn't?
81 down -> set some variable e.g. shift = 1
81 up -> set some variable e.g. shift = 0
87: if (shift = 1) do action1 else do action2
by admin
18 Oct 2017, 08:21
Forum: HowTos
Topic: Simulate keyboard input to active application
Replies: 4
Views: 2764

Re: Simulate keyboard input to active application

otta wrote:
17 Oct 2017, 17:46
The SendInput function uses decimal numbers
Not exactly, there's no "dedicated" decimal or hexadecimal number in lua. Just numbers. And you can use hexadecimal annotation in lua:

Code: Select all

> print(0xff)
255
by admin
12 Oct 2017, 08:44
Forum: Feature requests
Topic: Toggle Switch for Alt
Replies: 2
Views: 221

Re: Toggle Switch for Alt

You can't do it in HIDmacros.
Maybe in luamacros with lmc_send_input, but you need scripting/programming knowledge to use luamacros.
by admin
06 Oct 2017, 08:07
Forum: HOW-TOs and documentation
Topic: Macro with mouse
Replies: 3
Views: 268

Re: Macro with mouse

Mouse clicks can be done only with script, so share the source. Also make sure it's really executed, put some debug output or other action there.
by admin
25 Sep 2017, 08:52
Forum: General
Topic: help remapping my keypad
Replies: 2
Views: 355

Re: help remapping my keypad

LuaMacros were improved recently with funcionality related also to modifiers (see http://www.hidmacros.eu/forum/viewtopic.php?f=12&t=475) but still it is a tool that requires scripting/programming knowledge. Also if you already used some tool to tweak a keyboard I doubt you can sucessfully use 2 key...