Jump to content

Recommended Posts

Posted

hello,

i have tried some tutorials. So i have created this (i used the Logitech G15 keyboard Script Editor.):

function OnEvent(event, arg)

if (event == "G_PRESSED" and arg == 1) then

MoveMouseTo(42000, 22767)

Sleep(2000)

PressAndReleaseMouseButton(1);

MoveMouseTo(32767, 28767)

Sleep(3000)

end

end

now i want that the mouse movements are in a infinite loop. Only when i press "C" i can interuppt it.

Can someone help me ?

Regards, Reg

Posted

hello,

i have tried some tutorials. So i have created this (i used the Logitech G15 keyboard Script Editor.):

function OnEvent(event, arg)

if (event == "G_PRESSED" and arg == 1) then

MoveMouseTo(42000, 22767)

Sleep(2000)

PressAndReleaseMouseButton(1);

MoveMouseTo(32767, 28767)

Sleep(3000)

end

end

now i want that the mouse movements are in a infinite loop. Only when i press "C" i can interuppt it.

Can someone help me ?

Regards, Reg

Try looking up While...WEnd and HokKeySet...that should help you with the next step.

-Aaron

Posted (edited)

sry

G15 Script Editor based on lua

it has some similiar commands ^^

you can delete this thread

Edited by Reg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...