elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   AutoIt (https://www.elitepvpers.com/forum/autoit/)
-   -   pause bei autoit (https://www.elitepvpers.com/forum/autoit/215271-pause-bei-autoit.html)

c_gebing 02/25/2009 18:30

pause bei autoit
 
Hi,
wie mache ich das mein bot wenn ich auf 0 drücke sich pausiert? habe autoit

Mfg Christian

Gahme 02/25/2009 20:27

PseudoCode:

dim $SetPause = 0
HotKeySet("{NUMPAD0}", "Pause")

Func Pause()

if $SetPause = 0
$SetPause = 1
While $SetPause = 1
sleep(1000)
endwhile
elseif $SetPause = 1
$SetPause = 0
endif


Sorry, hab länger nichts mehr mit AutoIt zu tun gehabt, also ist der Code vermutlich nicht optimal (wobei, wir reden hier von AutoIt).

USB Schnittstelle 02/25/2009 21:26

frage geklärt

#cllosed


All times are GMT +2. The time now is 09:17.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.