[Request] Autoit Script assitance menu

User Tag List

Results 1 to 3 of 3
  1. #1
    TehVoyager's Avatar I just love KuRIoS
    Reputation
    1282
    Join Date
    Nov 2010
    Posts
    2,733
    Thanks G/R
    85/470
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [Request] Autoit Script assitance

    Im working on an autoit script.

    i want the Script to start when i press F5.
    i want it to loop the Start function.
    I want it to stop looping the Start function when i press F8.

    Code:
       Global $Paused
       HotKeySet("f5","Start")  ;script started by pressing home.
       HotKeySet("f8", "Stop") ;script stopped by pressing End.
       
    While 1
    Start()
    WEnd   
    
    Func Start()
    ;Stuff.
    EndFunc
    
    Func Stop()
       Exit
    EndFunc
    i know im doing it wrong. lol.
    Last edited by TehVoyager; 06-15-2012 at 02:08 AM.


    (don't post things I post to Patreon.)

    [Request] Autoit Script assitance
  2. #2
    vvvat's Avatar Contributor
    Reputation
    263
    Join Date
    May 2008
    Posts
    521
    Thanks G/R
    144/51
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
     Global $Paused
       HotKeySet("{f5}","Start")  ;script started by pressing f5.
       HotKeySet("{f8}", "Stop") ;script stopped by pressing f8.
    
      
    $Start = False
    
    While 1
    If $Start Then
    MsgBox(0, "Owned", "Core") ; here your function
    Endif
    WEnd 
    
    Func Stop()
       Exit
    EndFunc
    
    Func Start()
    $Start=True
    EndFunc
    this?

  3. #3
    pollock974's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here is the format yours is in...

    Code:
    HotKeySet("{F5}", "_start")
    HotKeySet("{F8}", "_stop")
    HotKeySet("{ESC}", "_exit")
    $stop = False
    
    While 1
    	Sleep(100)
    WEnd
    
    Func _start()
    	ToolTip("started")
    	While 1
    		If $stop Then ExitLoop
                    Sleep(100)
    	WEnd
    	ToolTip("stopped")
    	$stop = False
    EndFunc
    
    Func _stop()
    	$stop = True
    EndFunc
    
    Func _exit()
    	Exit
    EndFunc
    Here is the way i would probably do it if i just needed to jump out of a single function...

    Code:
    #include <misc.au3>
    $x = 1
    While 1
    	If _IsPressed("77") Then ExitLoop ;77 = F8
    	ToolTip($x)	
    	$x+=1
    WEnd

Similar Threads

  1. Requesting for AutoIT script for monk with 1024x768 window mode
    By dodongkaldero in forum D3 Gold profiles
    Replies: 2
    Last Post: 07-07-2012, 08:52 PM
  2. [Request] AutoIT scripts for Monks
    By sleepwalkerm in forum Diablo 3 Bots Questions & Requests
    Replies: 2
    Last Post: 06-10-2012, 09:25 AM
  3. REQUEST for autoit script
    By jereminion in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 06-27-2010, 11:09 PM
  4. [Request] AutoIT Script for Tome Unlocks(Look Inside)
    By Tinny in forum MMO Exploits|Hacks
    Replies: 12
    Last Post: 12-16-2008, 10:43 PM
  5. Some Useful AutoIT Scripts
    By barnyonfire1 in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 11-22-2006, 01:25 AM
All times are GMT -5. The time now is 11:53 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search