Covert Logitech mouse lua script

Announcements, questions
Post Reply
Deadhead1984
Posts: 1
Joined: 05 Jun 2018, 04:16

Covert Logitech mouse lua script

Post by Deadhead1984 » 05 Jun 2018, 04:23

Hello, I have this Logitech gaming mouse that has a option to add a lua script to it but to start the script I have to click one of the mouse buttons, I am trying to make it where I can use the same script but have a keyboard hot key to start it instead of the mouse key will this tool allow me to do this? I attached the script I am using in my mouse function

OnEvent(event, arg)
if (event == "MOUSE_BUTTON_PRESSED" and arg == 5) then
MoveMouseTo(21299,12267)
PressAndReleaseMouseButton(1)
MoveMouseTo(7653,18546)
end

end

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

Re: Covert Logitech mouse lua script

Post by admin » 05 Jun 2018, 08:26

Those commands are not standard lua commands, seems that mouse is adding kind of library you can use.
So no, you can't use this script in luamacros
Petr Medek
LUAmacros author

Post Reply