Search found 431 matches

by admin
20 Nov 2017, 09:09
Forum: HowTos
Topic: Quick start
Replies: 5
Views: 4140

Re: Quick start

For feature requests (mapped devices in variable) the best way is to open issue at github - to have it tracked. Implement this feature should not be a problem. Regarding starting second instance with -r... not sure I would expect the second instance is not started at all if one is already running. S...
by admin
20 Nov 2017, 09:05
Forum: General
Topic: Hotkey for teamspeak or mumble
Replies: 1
Views: 5

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

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: 5
Views: 94

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: 5
Views: 94

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: 5
Views: 94

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

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

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

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.