Wheezer Posted March 30, 2015 Share Posted March 30, 2015 Hey there I am trying to make a script loop 3 different mouseclicks/actions each time i press spacebar. So far i have no idea where to start, can anyone help me out? regards Link to comment Share on other sites More sharing options...
JohnOne Posted March 30, 2015 Share Posted March 30, 2015 You could start with looking at examples of mouseclick, loops, and hotkeyset in the help file. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
MikahS Posted March 30, 2015 Share Posted March 30, 2015 (edited) If we knew what app you were making this for, it might give us a better idea of how to help you. Edited March 30, 2015 by MikahS Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
Wheezer Posted March 30, 2015 Author Share Posted March 30, 2015 (edited) Sorry i forgot to mention i'm familiar with using mouseclicks and the function hotkeys! HotKeySet("{ENTER}", "Test") HotKeySet("{-}", "Stop") While 1 Sleep(100) ToolTip("started, 9, 8) WEnd Func Stop() Exit EndFunc Func Test() Opt("MouseCoordMode", 0) MouseClick("left", 174, 504, 1, 1) EndFunc Edited March 30, 2015 by Wheezer Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 30, 2015 Moderators Share Posted March 30, 2015 Wheezer,Welcome to the AutoIt forum. ("Escape=SpecialAttack (Prayer) TAB=Melee 2=Range 3=Magic"Unfortunately you appear to have missed the >Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. 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...
Recommended Posts