Page 1 of 1

Covert Logitech mouse lua script

Posted: 05 Jun 2018, 04:23
by Deadhead1984
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

Re: Covert Logitech mouse lua script

Posted: 05 Jun 2018, 08:26
by admin
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