Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:20

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

Advertisement



AutoIt bot F9

Discussion on AutoIt bot F9 within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
Smile AutoIt bot F9

Hallo wie schon oben erwähnt frag ich euch Pro´s ob einer mir schnell ein Bot scripten könnte der alle 10 min F9 drückt und sich mit der taste P starten lässt

Mfg
Colossus =)
.Colossus. is offline  
Old 04/03/2010, 22:50   #2
 
HardCore.1337's Avatar
 
elite*gold: 1
Join Date: Feb 2009
Posts: 1,726
Received Thanks: 729
PHP Code:
HotKeySet("P""Start")

While 
1
    sleep
(100)
WEnd

Func Start
()
    
$Time 1000*60*10
    
While 1

      Send 
("{F9}")
      
Sleep($TIme)
    
WEnd
EndFunc 
HardCore.1337 is offline  
Thanks
1 User
Old 04/03/2010, 22:55   #3

 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,825
Received Thanks: 1,538
ich sag mal danke
und
#Close
.Colossus. is offline  
Old 04/04/2010, 04:57   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
Hier noch eine Möglichkeit:

PHP Code:
HotKeySet("P""_Start")     ; Hotkey
HotKeySet
("O""_Pause")    ; Hotkey

$Time 
10 60 1000        10 Minuten in Millisekunden
$Timer 
$Time                Timer 10 Minuten
Global $Paused False        Bedingung für die ause

While True                    Endlosschleifeda sich das Script sonst beenden würde
    Sleep
(10)
WEnd

Func _Start
()                ; Funktion für "P"
    
While True
        
If TimerDiff($Timer) >= $Time Then    nach 10 Minuten...
            
Send("{F9}")                    ; ... wird "F9" gedrückt
            $Timer 
TimerInit()            ; der Timer wird zurück gesetzt
        
EndIf
    
WEnd
EndFunc

Func _Pause
()                ; Funktion für "O"
    
$Paused NOT $Paused    ändert die Bedingung (False -> TrueTrue -> False)
    While 
$Paused            solange die Bedingung erfüllt ist (Truewird das Script pausiert
        sleep
(10)
    
WEnd
EndFunc 
KDeluxe is offline  
Reply




All times are GMT +1. The time now is 02:21.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.