Search found 550 matches

by admin
15 Jan 2019, 08:42
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 7
Views: 858

Re: I need your help about LuaMacros script starting with windows

You should put there shortcut to luamacos.exe with script name as parameter in target of such shortcut. This is not different for luamacros like running any other programm with parameter (file name)
by admin
14 Jan 2019, 09:02
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 7
Views: 858

Re: I need your help about LuaMacros script starting with windows

Do you put there shortcut to luamacros.exe with "Start in folder" with correct directory, where luamacros is installed?
by admin
07 Jan 2019, 10:02
Forum: General
Topic: I need your help about LuaMacros script starting with windows
Replies: 7
Views: 858

Re: I need your help about LuaMacros script starting with windows

What is not recognized? Do you have problems to start luamacros.exe or luamacros is started but lua script is not loaded into it?
by admin
25 Dec 2018, 22:40
Forum: General
Topic: Mechanical Push Button in Xplane Cockpit mapping
Replies: 2
Views: 246

Re: Mechanical Push Button in Xplane Cockpit mapping

Solution 1) remember the "state" in some lua variable and based on this send the oposit
Solution 2) instead of remebering the value in lua var, read the dataref first on every (appropriate) key press and send the other value
by admin
18 Dec 2018, 09:22
Forum: General
Topic: lmc_get_button
Replies: 1
Views: 228

Re: lmc_get_button

ad 1) this should work, just make sure you define isF2 in global scope (not inside f2 handler only). I'm using such 'global' variables in my scripts, you can check lmc.lua in source repo
ad 2) as the message says - lmc_get_button is only for game devices (joystick) buttons, not for keyboards
by admin
11 Dec 2018, 09:13
Forum: Support - bugs
Topic: Hid macros is not working while using powermixer with a midi controller.
Replies: 4
Views: 517

Re: Hid macros is not working while using powermixer with a midi controller.

Luamacros but you need to know how to write lua scripts.
Older version of hidmacros can be found at download page. MIDI was added in 2.3, so try 2.2
by admin
10 Dec 2018, 09:24
Forum: Support - bugs
Topic: Hid macros is not working while using powermixer with a midi controller.
Replies: 4
Views: 517

Re: Hid macros is not working while using powermixer with a midi controller.

Unfortunately not. Hidmacros has MIDI input as "experimental feature" and seems it claims the interface exclusively so no other application with MIDI support can run.
As I can not build Himacros any more this won't be changed/fixed.
by admin
05 Dec 2018, 20:43
Forum: General
Topic: Problem Delay script
Replies: 9
Views: 1022

Re: Problem Delay script

Code: Select all

print(lmc_get_window_title())
Assign to variable, do some ifs, just scripting.

ad 1&2) no, not possible. Maybe if lua can somehow get list of running apllications (processes) you could write some logic to script. But no direct support in luamacros
by admin
03 Dec 2018, 17:31
Forum: General
Topic: Problem Delay script
Replies: 9
Views: 1022

Re: Problem Delay script

For 3) use command line parameter -r and see viewtopic.php?f=12&t=270
by admin
30 Nov 2018, 09:00
Forum: General
Topic: Problem Delay script
Replies: 9
Views: 1022

Re: Problem Delay script

Sorry, you need some technical and scripting knowledge to use luamacros. You have all the information you need in that link.