kannst du mal bitte paar infos zu dem ding werfen?
wie lange geht der test maximal bei der spielerei? 10sek oder ne minute oder 5 minuten?
ich bin kein informatiker, aber ne schleife ohne natürliche end-bedingung ist mir ein greul^^
und jetzt das witzige: man muss wissen an welchem punkt auf dem bildschirm der klick simuliert werden soll...
ich kopier dir (in ermangelung die app selber testen zu können) mal ne anleitung, wie du die position bestimmst:
Zitat:
Mouse Clicks: To send a mouse click to a window it is first necessary to determine the X and Y coordinates where the click should occur. This can be done with either AutoScriptWriter or Window Spy, which are included with AutoHotkey. The following steps apply to the Window Spy method: - Launch Window Spy from a script's tray-icon menu or the Start Menu.
- Activate the window of interest either by clicking its title bar, alt-tabbing, or other means (Window Spy will stay "always on top" by design).
- Move the mouse cursor to the desired position in the target window and write down the mouse coordinates displayed by Window Spy (or on Windows XP and earlier, press Shift-Alt-Tab to activate Window Spy so that the "frozen" coordinates can be copied and pasted).
- Apply the coordinates discovered above to the Click command. The following example clicks the left mouse button:
Click 112, 223 |
http://www.autoitscript.com/autoit3/...tro/au3spy.htm
x und y-koordinate sind also sehr wichtig, ohne die wird das nix und man müsste ins blaue schießen...