alohha Posted December 10, 2011 Share Posted December 10, 2011 Hi! i'm new to this forum.I've been doing a script for a private server (runescape), it's not very advanced. just simple and only for me. (Don't hate.) MouseClick("Right",674,422)MouseClick("Left",673,447)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(2000)MouseClick("Left",674,422)Sleep(3000)MouseClick("Left",666,646)SLeep(3000)MouseClick("Left",548,656)SLeep(5000)MouseClick("Left",718,514)SLeep(3000)MouseClick("Left",806,240)SLeep(3000)MouseClick("Left",791,324)SLeep(4000)MouseClick("Left",641,459)SLeep(3000)MouseClick("Left",675,339)SLeep(3000)How and where do i put the code for it to repeat? Link to comment Share on other sites More sharing options...
Apfelkiller Posted December 10, 2011 Share Posted December 10, 2011 Do you want to repeat the whole skript?? While 1 ;Your skript here WEnd This will repeat it forever BogdanNicolescu 1 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 10, 2011 Moderators Share Posted December 10, 2011 alohha,Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum Rules on your way in. Please read them now and then you will understand why you will get no help and this thread will shortly be locked. See you soon with a legitimate question I hope. 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...
alohha Posted December 10, 2011 Author Share Posted December 10, 2011 Do you want to repeat the whole skript?? While 1 ;Your skript here WEnd This will repeat it forever Where should i put that code? and how can i stop it so it doesnt repeat forever? Link to comment Share on other sites More sharing options...
alohha Posted December 10, 2011 Author Share Posted December 10, 2011 alohha,Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum Rules on your way in. Please read them now and then you will understand why you will get no help and this thread will shortly be locked. See you soon with a legitimate question I hope. M23Sorry, i will make sure i dont do this misstake next time. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted December 10, 2011 Moderators Share Posted December 10, 2011 alohha,Sorry, i will make sure i dont do this misstake next timeDelighted to hear it. We will help you a huge amount if you post legitimate questions. Please do read those rules I linked to and abide by them. See you around. 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...
Apfelkiller Posted December 10, 2011 Share Posted December 10, 2011 Here this will do, just put the rest (or whatever you want) at the ;... position. The Hotkey to exit the script is set to {ESC} HotKeySet("{ESC}", "Terminate") While 1 MouseClick("Right",674,422) MouseClick("Left",673,447) Sleep(2000) ;... ;... ;... MouseClick("Left",675,339) SLeep(3000) WEnd Func Terminate() Exit 0 EndFunc BogdanNicolescu 1 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 10, 2011 Moderators Share Posted December 10, 2011 Topic locked due to forum rule infraction. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Recommended Posts