METVSTUDIOS Posted May 29, 2008 Share Posted May 29, 2008 I want this function to LOOP INFINITE until i send a certain key. Please. Im new. METVSTUDIOS. namgold 1 Link to comment Share on other sites More sharing options...
spudw2k Posted May 29, 2008 Share Posted May 29, 2008 Quick Example HotKeySet("{esc}","LoopFlagToggle") $loopflag = 0 Do msgbox(0,"Looping with DO LOOP","Looping until ESC key is pressed") Until $loopflag <> 0 $loopflag = 0 While $loopflag = 0 msgbox(0,"Looping with WHILE LOOP","Looping until ESC key is pressed") WEnd Func LoopFlagToggle() $loopflag = 1 EndFunc Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
METVSTUDIOS Posted May 29, 2008 Author Share Posted May 29, 2008 Thanks soo much man! U PPLZZ RULE! Link to comment Share on other sites More sharing options...
METVSTUDIOS Posted May 29, 2008 Author Share Posted May 29, 2008 C:\Documents and Settings\Carrie\Desktop\mybestauto.au3 (119) : ==> "Func" statement has no matching "EndFunc".: Func LoopFlagToggle() ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????c >Exit code: 1 Time: 0.353 Link to comment Share on other sites More sharing options...
METVSTUDIOS Posted May 29, 2008 Author Share Posted May 29, 2008 HotKeySet("{esc}","LoopFlagToggle") $loopflag = 0 Do MouseClick("right") sleep(800) Until $loopflag <> 0 Func LoopFlagToggle() $loopflag = 1 EndFunc (WAS SCRIPT) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now