Search found 530 matches

by admin
15 Jun 2018, 07:59
Forum: General
Topic: help me!
Replies: 1
Views: 11106

Re: help me!

Windows keyboard settings?
by admin
14 Jun 2018, 07:55
Forum: General
Topic: hi guy, I have a question, please help me?
Replies: 0
Views: 12019

Re: hi guy, I have a question, please help me?

No, you can't have macro trgierred by sequence of keys
by admin
11 Jun 2018, 08:40
Forum: General
Topic: Hi guys, i have a question about Startup conditions,please help me
Replies: 1
Views: 217

Re: Hi guys, i have a question about Startup conditions,please help me

You can have lua callback procedure trigerred by xpl variable change. If you hook it to plane tail number it's called when the plane is loaded. See the lua script that I use for xplane - https://github.com/me2d13/luamacros/blob/master/src/lmc.lua The callback is function setPlane(name) and it's regi...
by admin
08 Jun 2018, 07:58
Forum: General
Topic: Pass keypress without any manipulation
Replies: 2
Views: 252

Re: Pass keypress without any manipulation

There is no such available command in lua. What you can do is not define callback for whole device but only for specific keys/buttons. Then othe keys are not affected. You can define such specific callback function using: lmc_set_handler(name_of_device,key_number,direction_0_is_up_and_1_is_down,call...
by admin
06 Jun 2018, 08:36
Forum: General
Topic: Please help me!
Replies: 1
Views: 11204

Re: Please help me!

I think mouse support was never working properly in HidMacros.
And you are facing the situation when it doesn't work.
As development of HidMacros stopped there's nothing how you can get it working
by admin
06 Jun 2018, 08:29
Forum: General
Topic: So i need help
Replies: 1
Views: 11120

Re: So i need help

TAB can't be used as modifier (being pressed together with another key). So macro {TAB}R first sends tab (press and release) and then R. Which is probably not what you want. And there's no way in Hidmacros how to send tab together. For FSX it's better to use dedicated SimConnect interface. I think h...
by admin
06 Jun 2018, 08:26
Forum: General
Topic: need help?
Replies: 1
Views: 11262

Re: need help?

You can't with hidmacros, you can with luamacros
by admin
05 Jun 2018, 08:26
Forum: General
Topic: Covert Logitech mouse lua script
Replies: 1
Views: 219

Re: Covert Logitech mouse lua script

Those commands are not standard lua commands, seems that mouse is adding kind of library you can use.
So no, you can't use this script in luamacros
by admin
04 Jun 2018, 07:49
Forum: General
Topic: need help?
Replies: 1
Views: 11610

Re: need help?

No, trigger is always single key press. Just the macro action can send multiple keys.
Maybe you could do something with "advanced scripting", set some global variable + timestamp on first key press and check those values on second key press
by admin
04 Jun 2018, 07:47
Forum: General
Topic: Hi guys, i have a question about Syntax
Replies: 1
Views: 226

Re: Hi guys, i have a question about Syntax

string.byte is standard lua function to convert one character to its ascii code. Of course doesn't work on some "virtual names" like HOME. So yes, the easiest way is just forget string.byte, see the log what number is being printed in "not yet assigned" message and use this number directly in anothe...