Search found 595 matches

by admin
06 Jun 2019, 08:09
Forum: HOW-TOs and documentation
Topic: Mouse, display off, url shortcut - Macro questions
Replies: 1
Views: 36

Re: Mouse, display off, url shortcut - Macro questions

ad 1) I think I dropped mouse support in luamacros just for this reason - there were scenarios when I couldn't block the mouse click. So if you're still receiving it there's nothing you can improve on your side ad 2) not by some built-in way. Unless you find some VB script/command to do that ad 3) F...
by admin
03 Jun 2019, 08:08
Forum: HOW-TOs and documentation
Topic: Launch at startup
Replies: 2
Views: 64

Re: Launch at startup

Hidmacros is regular windows application, there should be nothing special.
Just make sure it's startup folder is the one when main exe is stored
by admin
23 May 2019, 08:16
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 106

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

Then it's just pure debugging of your script. Print the number in the handler and find out, why string.byte gives other number so the if condition doesn't match.
Just lua scripting...
by admin
21 May 2019, 08:41
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 106

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

Do some debugging then. Try to run xpl command as single line in script - to see if it works.
Try to print debug output from your keyboard handler - too see that "if" command gets executed
by admin
20 May 2019, 08:55
Forum: General
Topic: Lua Macros script not working with Fly with Lua.
Replies: 11
Views: 106

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

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

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

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

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

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:/...