mixmixd Posted September 16, 2016 Share Posted September 16, 2016 HotKeySet("{END}", "End") HotKeySet("{DEL}", "Go") While 1 Sleep(1) WEnd Func End() Exit EndFunc Func Go() While 1 MouseClick("left", Random(586, 844, 0), Random(305, 577, 1), 0) sleep(750) MouseClick("left",1307,328, 0) sleep(750) MouseClick("left",1307,168, 0) Sleep(750) WEnd EndFunc So I was using the code above and it was working completely fine. I came back later reopened the script and it just doesnt run... no errors nothing it just doesnt run.. I can seem to run it but it doesnt start the program i can only press END to end the DEL hotkey does nothing.. I also tried to make another script with one simple mouse click and that doesnt work either is there something wrong with my versions??? >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\XXX\Desktop\Test - Copy.au3" Link to comment Share on other sites More sharing options...
rcmaehl Posted September 16, 2016 Share Posted September 16, 2016 Have you tried rebooting your PC? My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
mixmixd Posted September 16, 2016 Author Share Posted September 16, 2016 Yes Link to comment Share on other sites More sharing options...
rcmaehl Posted September 16, 2016 Share Posted September 16, 2016 (edited) First thing I see wrong with your script is that Random(586, 844, 0) Should be Random(586, 844, 1) Also, what spudw2k said, because I apparently confused it with speed instead of clicks Edited September 16, 2016 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
spudw2k Posted September 16, 2016 Share Posted September 16, 2016 Your last param in the mouse click is 0, meaning 0 clicks. Remove it to make it 1 or set it to something > 0 rcmaehl 1 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...
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