Search found 591 matches

by admin
20 May 2019, 08:55
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 8
Views: 43

Re: Lua Macros script not working with Fly with Lua.

Try if the xpl communication is working with something simplier. E.g. run script: lmc_log_module('XPL') lmc_xpl_text('From LUA macros') Doest the text appear in xplane? Also you can create empty file lmc_log_file_trigger.log in xplane folder and after doing the test check its content. See some troub...
by admin
17 May 2019, 08:16
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 8
Views: 43

Re: Lua Macros script not working with Fly with Lua.

And are device names correctly assigned? Do you see that "not yet assigned" message for other keys or do you see keyboards with names when printing devices? Is the calc started for C?
by admin
16 May 2019, 08:15
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 8
Views: 43

Re: Lua Macros script not working with Fly with Lua.

Did you install lmc plugin? What is the code?
by admin
13 May 2019, 08:24
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 8
Views: 43

Re: Lua Macros script not working with Fly with Lua.

Luamacros and FlyWithLua are completely different programs. They are just both using Lua language as "scripting engine". Don't expect luamacros script to work with fly with lua and vice versa.
by admin
02 May 2019, 08:07
Forum: General
Topic: How to launch a program or open a folder?
Replies: 1
Views: 23

Re: How to launch a program or open a folder?

You need to know the program (exe file) name and sometimes even path and pass it as argument to lmc_spawn (note that calculator is in fact program calc.exe). Opening folder usually means you are in fact running windows explorer program with path to the folder as argument. Again you need to find out ...
by admin
02 May 2019, 08:04
Forum: General
Topic: Toggle switch on keyboard to SendKeys?
Replies: 3
Views: 42

Re: Toggle switch on keyboard to SendKeys?

The key repeat comes from keyboard driver and you can't stop it (unless changing in windows globally). What you can do is intentionally ignore following key downs - as you do in luamacros script. If they keys don't arrive to DCS it might be by its architecture and way it reads keyboard - see https:/...
by admin
17 Apr 2019, 19:15
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 164

Re: Recognizing input - Left Ctrl, Right Ctrl

Ok, had some time even before Easter :-) I realized that left/right control send different flags, but left/right shift sends different MakeCode So I tried to build new exe which sends even fifth parameter to callback method. Download this beta build from here and try code: clear(); lmc_assign_keyboa...
by admin
17 Apr 2019, 08:38
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 164

Re: Recognizing input - Left Ctrl, Right Ctrl

I see, will check after Easter
by admin
16 Apr 2019, 08:27
Forum: General
Topic: Recognizing input - Left Ctrl, Right Ctrl
Replies: 11
Views: 164

Re: Recognizing input - Left Ctrl, Right Ctrl

Flags are parameter of callback function, they are not bound to specific key.
Did you try?
by admin
11 Apr 2019, 07:34
Forum: General
Topic: [X-Plane 11.32r2] No commands received by X-Plane
Replies: 10
Views: 129

Re: [X-Plane 11.32r2] No commands received by X-Plane

Well I did some fixes in xpl plugin as well because I found some problems having extended debug in place :roll:
I'm glad it helped you both, will make these fixes part of official download :-)