Search found 521 matches

by admin
19 Apr 2018, 08:19
Forum: General
Topic: a quick question about FS2004
Replies: 1
Views: 14266

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

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

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

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

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

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...
by admin
19 Mar 2018, 10:25
Forum: HOW-TOs and documentation
Topic: Sending Keys
Replies: 1
Views: 353

Re: Sending Keys

You have 2 options: 1) use LMC as usual which means once keyboard handler is hooked all original keys are blocked. So you would have to use lmc_send_input or send keys to send original key again 2) recently I have added a parameter to turn the low level keyboard hook (which block original keys) off....
by admin
13 Mar 2018, 09:17
Forum: HOW-TOs and documentation
Topic: Alittle question about edit file
Replies: 1
Views: 228

Re: Alittle question about edit file

It's xml file in the same directory as exe. Name can be changed by parameter. You could transfer it but you need even to change keyboard id inside the xml to match different keyboard or AFAIR there's a function to transfer all macros from non-active (not found) keyboard to different one (currently c...