Sign in to follow this  
Followers 0
Abdullah

Help Needed

13 posts in this topic

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

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (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? :P

And why do you want the mouse to move "in a more humanly manner not striaght" anyway? :x

M23

Edit: Added link.

Edited by Melba23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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? :P

And why do you want the mouse to move "in a more humanly manner not striaght" anyway? :x

M23

I have been banned?

how?>

I only msg ppl so I can get the reply faster..

Share this post


Link to post
Share on other sites

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//

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Abdullah,

Follow the link in my post above - Jos was not happy with you. :P

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. :shifty:

M23

Edit:

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. :x Edited by Melba23

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Abdullah,

Follow the link in my post above - Jos was not happy with you. :P

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. :shifty:

M23

Edit:

And read this. :x

"Edit: Added link." it only says.. that.. sorry I didn't know ;(

will I still get help for my questions?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Abdullah,

Are you stupid? :P

Stop sending me PMs! :x

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Abdullah,

Are you stupid? :P

Stop sending me PMs! :x

M23

wanted to show you something.. thats it maan

Share this post


Link to post
Share on other sites

Abdullah, I won't tell you to PM JohnOne.

...But he's really good with some things. Maybe he could help you.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0