Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 09:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Endlosschleife

Discussion on Endlosschleife within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 2
Received Thanks: 0
Endlosschleife

Hi,
ich habe ein bisschen den Logitech G15 Script Editor (der ja mit autoIT funkioniert) ausprobiert und habe folgendes zum ausprobieren erstellt:

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

nun will ich das in einer Endlosschleife haben. Bis ich eine Taste drücke, zum Beispiel "C" oder CRTL.

Kann mir da jemand helfen ?

habe das tut gelesen ->

aber krieg es irgendwie nicht hin


Mfg, Reg
reggg is offline  
Old 08/12/2010, 20:46   #2
 
RealEmX's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
Code:
Func Ende()
Exit
EndFunc

HotKeySet("C", "Ende")

While 1 
;Dein Code
WEnd
Das da oben sieht nicht wie AutoIt aus, aber evtl kannst es ja auf die Scriptsprache der G15 umbasteln.

P.s.: Schönen Tastaturgeschmack, hab auch eine, hab mich aber noch nicht mit dem Scripten davon auseinander gesetzt ^^
RealEmX is offline  
Old 08/13/2010, 00:33   #3
 
elite*gold: 0
Join Date: Aug 2010
Posts: 2
Received Thanks: 0
sry

der G15 Skript editor basiert auf

ihr könnt den Thread löschen ^^

btw: hab es nun sogar hingekriegt
reggg is offline  
Reply


Similar Threads Similar Threads
Endlosschleife, blos warum? (c++)
09/19/2008 - C/C++ - 8 Replies
string numberstr = "0155/194123"; int maxruns = 0; int indexint = 0; while (numberstr.find_first_not_of("0123456789" ;,0) >= 0 && numberstr.find_first_not_of("0123456789" ,0) != string::npos && maxruns < 10) { indexint = numberstr.find_first_not_of("0123456789" ,0); numberstr.erase(indexint,1); maxruns++; }



All times are GMT +1. The time now is 09:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.