mixmixd Posted September 23, 2016 Share Posted September 23, 2016 (edited) I'm a total newbie to autoit and i've written some script. I want to be able to toggle the script by holding down left click then pause the script when released left click. More basically; I want my script to be in a loop but I can start the loop when left click is down and pause it when its up. If anyone knows what I mean pls help <3 p.s. its a randomized autoclicker. Edited September 23, 2016 by mixmixd Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 24, 2016 Moderators Share Posted September 24, 2016 mixmixd, Quote its a randomized autoclicker Have you read the Forum rules and are you sure that this is legal? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
mixmixd Posted September 24, 2016 Author Share Posted September 24, 2016 I literally asked for help this is what a "Help and Support" forum is for.. Would you like me to post what script I already have wrote?? Link to comment Share on other sites More sharing options...
mixmixd Posted September 24, 2016 Author Share Posted September 24, 2016 (edited) 1 hour ago, Melba23 said: mixmixd, Have you read the Forum rules and are you sure that this is legal? M23 Doesnt say anything about autoclickers.. Edited September 24, 2016 by mixmixd Link to comment Share on other sites More sharing options...
czardas Posted September 24, 2016 Share Posted September 24, 2016 It is not so much the wording, but rather the intention. The question in my mind is why do you intend to randomize this action? What is the objective? Explain that and you might get some help. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mixmixd Posted September 24, 2016 Author Share Posted September 24, 2016 In a game im playing you I required to click a bunch and rather than using hotkeys to toggle on and off I'd like to be able to just hold left mouse to activate and release to stop.. Link to comment Share on other sites More sharing options...
232showtime Posted September 24, 2016 Share Posted September 24, 2016 I have an idea read here ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
czardas Posted September 24, 2016 Share Posted September 24, 2016 @mixmixd Okay thanks for the explanation and for your honesty. My intention is not to trick you, but unfortunately that does count as game automation and we are not allowed to help you with that. My advice is that you spend less time playing games anyway, and devote more time to learning how to actually write a program of your own. It could be the best thing you ever did. 232showtime 1 operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
mixmixd Posted September 24, 2016 Author Share Posted September 24, 2016 How do I test for a button being held down? if _IsPressed(1) Then ?? Link to comment Share on other sites More sharing options...
czardas Posted September 24, 2016 Share Posted September 24, 2016 That function requires string input, but I strongly recommend that you drop this subject before you get me, yourself or anyone else in trouble. operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Recommended Posts