Jump to content

Help Needed


 Share

Recommended Posts

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

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 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

 

Link to comment
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..

Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 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

 

Link to comment
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?

Link to comment
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
Link to comment
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.

Link to comment
Share on other sites

  • Moderators

Abdullah,

Are you stupid? :P

Stop sending me PMs! :x

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 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

 

Link to comment
Share on other sites

  • Developers

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...