Reg Posted August 12, 2010 Share Posted August 12, 2010 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 Link to comment Share on other sites More sharing options...
FlyinRiz Posted August 12, 2010 Share Posted August 12, 2010 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, RegTry looking up While...WEnd and HokKeySet...that should help you with the next step.-Aaron Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 12, 2010 Share Posted August 12, 2010 @Reg: You tried what tutorials? That is not AutoIt code. Are you aware this is an AutoIt support forum? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Developers Jos Posted August 12, 2010 Developers Share Posted August 12, 2010 Why did you think this is an Autoit3 script they posted on the forum you got this from? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Bert Posted August 12, 2010 Share Posted August 12, 2010 He needs to go here http://forums.logitech.com/t5/G-Series-Gaming-Keyboards/bd-p/gserieskeyboards The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Reg Posted August 12, 2010 Author Share Posted August 12, 2010 (edited) sryG15 Script Editor based on luait has some similiar commands ^^you can delete this thread Edited August 12, 2010 by Reg Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now