Abdullah Posted January 11, 2011 Share Posted January 11, 2011 Hi I wrote a script. It is simple and it clicks on the computer screen in a Loop at random time. But now I want to make it so.. I can move the mouse.. in a more humanly manner not striaght... the mouse still goes straight.. Need Help. Here is the script: Can please put hotkeys inside the script to turn it off or on.. write now I have to log off to stop the script... While 1 MouseClick("left",10,10) $random_time = Random(1,5,1) Sleep($random_time) MouseClick("left",500,500) $random_time = Random(1,5,1) Sleep($random_time) MouseClick("left",100,100) $random_time = Random(1,5,1) Sleep($random_time) Wend Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 11, 2011 Share Posted January 11, 2011 See the HotKeySet function in the Helpfile for an example how to exit a script. And don't PM me asking for help. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 11, 2011 Moderators Share Posted January 11, 2011 (edited) Abdullah,You have already been banned after having been told that PMing people like me asking for help is not a good idea, so why are you doing it again? And why do you want the mouse to move "in a more humanly manner not striaght" anyway? M23Edit: Added link. Edited January 11, 2011 by Melba23 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...
Abdullah Posted January 11, 2011 Author Share Posted January 11, 2011 Abdullah, You have already been banned after having been told that PMing people asking for help is not a good idea, so why are you doing it again? And why do you want the mouse to move "in a more humanly manner not striaght" anyway? M23 I have been banned? how?> I only msg ppl so I can get the reply faster.. Link to comment Share on other sites More sharing options...
Abdullah Posted January 11, 2011 Author Share Posted January 11, 2011 I have been banned?how?>I only msg ppl so I can get the reply faster..Runescape .. clicking on an iron ore.. than... in a human way.. than dropping the ore in a human way.. and the loop I did it// Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 11, 2011 Moderators Share Posted January 11, 2011 (edited) Abdullah,Follow the link in my post above - Jos was not happy with you. PMing people for help is seen as very rude here - please stop doing it or you risk getting a longer holiday from the forum next time. Just post in the forum so everyone can see and learn - after all, that is why we are here in the first place. M23Edit:Runescape .. clicking on an iron ore.. than... in a human way.. than dropping the ore in a human way.. and the loop I did it//And read this. Edited January 11, 2011 by Melba23 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...
Abdullah Posted January 11, 2011 Author Share Posted January 11, 2011 Abdullah,Follow the link in my post above - Jos was not happy with you. PMing people for help is seen as very rude here - please stop doing it or you risk getting a longer holiday from the forum next time. Just post in the forum so everyone can see and learn - after all, that is why we are here in the first place. M23Edit:And read this. "Edit: Added link." it only says.. that.. sorry I didn't know ;(will I still get help for my questions? Link to comment Share on other sites More sharing options...
Varian Posted January 11, 2011 Share Posted January 11, 2011 Did you look through you last post??? Do the research silently if you need more than this:HotKeySet('{ESC}', '_Exit') Local $Coordinates[3][2] = [[10, 10],[50, 50],[100, 100]] ;Array for coordinates 10,10 50,50 100,100 While 1 For $i = 0 To UBound($Coordinates) - 1 Local $Random_Time = Random(1, 120, 1); This will generate a random integer number between 1 and 120 $Random_Time *= 1000 ;From 1 Second to 120 Seconds MouseClick("left", $Coordinates[$i][0], $Coordinates[$i][1]) _Sleep($Random_Time) Next WEnd Func _Exit() Exit EndFunc Func _Sleep($SecsToSleep) Local $StartTimer $StartTimer = TimerInit() While 1 If TimerDiff($StartTimer) >= $SecsToSleep Then Return Sleep(10) ;nominal sleep time to ease process consumption but maintain control of the mouse WEnd EndFunc Link to comment Share on other sites More sharing options...
Abdullah Posted January 11, 2011 Author Share Posted January 11, 2011 Did you look through you last post??? Do the research silently if you need more than this:HotKeySet('{ESC}', '_Exit') Local $Coordinates[3][2] = [[10, 10],[50, 50],[100, 100]] ;Array for coordinates 10,10 50,50 100,100 While 1 For $i = 0 To UBound($Coordinates) - 1 Local $Random_Time = Random(1, 120, 1); This will generate a random integer number between 1 and 120 $Random_Time *= 1000 ;From 1 Second to 120 Seconds MouseClick("left", $Coordinates[$i][0], $Coordinates[$i][1]) _Sleep($Random_Time) Next WEnd Func _Exit() Exit EndFunc Func _Sleep($SecsToSleep) Local $StartTimer $StartTimer = TimerInit() While 1 If TimerDiff($StartTimer) >= $SecsToSleep Then Return Sleep(10) ;nominal sleep time to ease process consumption but maintain control of the mouse WEnd EndFunc Ok sorry.. thxs. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 11, 2011 Moderators Share Posted January 11, 2011 Abdullah, Are you stupid? Stop sending me PMs! 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...
Abdullah Posted January 11, 2011 Author Share Posted January 11, 2011 Abdullah,Are you stupid? Stop sending me PMs! M23wanted to show you something.. thats it maan Link to comment Share on other sites More sharing options...
trancexx Posted January 11, 2011 Share Posted January 11, 2011 Abdullah, I won't tell you to PM JohnOne. ...But he's really good with some things. Maybe he could help you. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Developers Jos Posted January 11, 2011 Developers Share Posted January 11, 2011 Just so you know: You were banned by me on Jan 1 for 3 days and now for 2 weeks for continuing this crap. Next time will be a permanent ban. Clear enough I hope. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts