Lua commands

Documentation. First post is always kind of manual page, being continuously updated by author. Following posts are discussion about the topic.
Post Reply
Posts: 18
Joined: 22 Aug 2012, 19:35

Lua commands

Post by jonny » 09 Jan 2022, 13:14


In HIDMacros I have this code:


<ScriptSource>WshShell.AppActivate("Microsoft Flight Simulator X")
HIDMacros.MouseClick 2800, 20, 0


When I press 'FsimX' key the "Microsoft Flight Simulator X" window will get the focus and the mouse pointer vill go to 2800 20. It works well for me as well as with other program I use together with FSX.

Is it possible to this with LUAMacros as well?
If so, what LUA commands sould I use to do the same?


Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic

Re: Lua commands

Post by admin » 10 Jan 2022, 08:29

No, mouse clicks are not supported in luamacros
Petr Medek
LUAmacros author

Post Reply