Search found 484 matches

by admin
24 Apr 2018, 08:33
Forum: Bug reports
Topic: Doesn't block keys in notepad++
Replies: 2
Views: 17

Re: Doesn't block keys in notepad++

Hmm, hard to say fix something that works for me :-/.
Aren't you running Notepad++ as admin and luamacros as regular user?
by admin
20 Apr 2018, 07:57
Forum: General
Topic: How many keyboards you think that can be used?
Replies: 1
Views: 17

Re: How many keyboards you think that can be used?

1) yes
2) yes
If you are able to write some scripts I recommend to use LuaMacros instead of HidMacros
by admin
19 Apr 2018, 08:19
Forum: General
Topic: a quick question about FS2004
Replies: 1
Views: 9

Re: a quick question about FS2004

With scripting and FSUIPC yes - see http://www.hidmacros.eu/scripting.php#fsuipc
by admin
09 Apr 2018, 08:05
Forum: Support - bugs
Topic: Object doesn't support this property or method
Replies: 1
Views: 57

Re: Object doesn't support this property or method

1) If you're sending just key presses you don't need scripted macro - you can use gui definition
2) if you want to use scripted macro anyway then remove the semicolon and try: sendkeys "+/"
by admin
23 Mar 2018, 16:56
Forum: General
Topic: Xplane 11 Function and Numpad Keys not working
Replies: 11
Views: 418

Re: Xplane 11 Function and Numpad Keys not working

After your last elseif line add command

Code: Select all

else print('To use this key add elseif with number ' .. button)
Run it, see output
by admin
23 Mar 2018, 15:20
Forum: General
Topic: Xplane 11 Function and Numpad Keys not working
Replies: 11
Views: 418

Re: Xplane 11 Function and Numpad Keys not working

Generally the tool is not intended to react to key combinations. The idea is opposite – you can use multiple keyboards to avoid need of key combinations. On the other hand I think it’s doable – you need some flag (variable) which you set on ctrl (or shift) down and reset on release. Then you can ada...
by admin
23 Mar 2018, 13:19
Forum: General
Topic: Xplane 11 Function and Numpad Keys not working
Replies: 11
Views: 418

Re: Xplane 11 Function and Numpad Keys not working

Ok, instead of

Code: Select all

elseif (button == string.byte('{NUM1}')) then lmc_xpl_command('laminar/B738/autopilot/speed_press')
try

Code: Select all

elseif (button == 97) then lmc_xpl_command('laminar/B738/autopilot/speed_press')
and if it works find other numbers here
by admin
23 Mar 2018, 08:57
Forum: General
Topic: Xplane 11 Function and Numpad Keys not working
Replies: 11
Views: 418

Re: Xplane 11 Function and Numpad Keys not working

string.byte is strandard lua function at it has nothing to do with key names used in sendKeys (like {NUM6}). You need to use virtual key code here - even find such codes for F* keys or put debug print command to your handler that will print current key value (variable button) and then use this value...