Jump to content
Sign in to follow this  
JasonBurn

left-clicking madness

Recommended Posts

Hey guys, as u can see, I am pretty new here ^^

I came around searching for help.

Ok, there it goes - on my work I have to delete files from times to times manually.

It wouldnt be that bad, just marking them and than "Del-Button" - byebye files,

but I have to delete them with the program itself (it has some sort of built-in browser)

and there it marks every third or fourth file as "protected".

So, than I have to click "Yes, I want to delete" over and over again as the message pop-ups

all the time -.-

Therefor I need a script that left-clicks all the time, like 100 times a second or something....

I am really tired of left-clicking for onehour a day, plus, my hand is painful

after it.

I think such a script should be easy, right? Its just a repeated-left-click.

/edit

I think a trigger would be good, otherwise if I move the mouse around

with this repeated left-clicking, it might cause some trouble.

Something like "click and hold button D for repeated left-clicking"

Help pleeeeeeeease.

JB

Edited by JasonBurn

Share this post


Link to post
Share on other sites

Hey guys, as u can see, I am pretty new here ^^

I came around searching for help.

Ok, there it goes - on my work I have to delete files from times to times manually.

It wouldnt be that bad, just marking them and than "Del-Button" - byebye files,

but I have to delete them with the program itself (it has some sort of built-in browser)

and there it marks every third or fourth file as "protected".

So, than I have to click "Yes, I want to delete" over and over again as the message pop-ups

all the time -.-

Therefor I need a script that left-clicks all the time, like 100 times a second or something....

I am really tired of left-clicking for onehour a day, plus, my hand is painful

after it.

I think such a script should be easy, right? Its just a repeated-left-click.

/edit

I think a trigger would be good, otherwise if I move the mouse around

with this repeated left-clicking, it might cause some trouble.

Something like "click and hold button D for repeated left-clicking"

Help pleeeeeeeease.

JB

HotKeySet("{Home}", "Start")
Opt("MouseClickDelay", 100)

While 1
WEnd

Func Start()
    While 1
        MouseClick("Left", , ,30)
    WEnd
EndFunc
Edited by ReaImDown

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites

HotKeySet("{Home}", "Start")
Opt("MouseClickDelay", 100)

While 1
WEnd

Func Start()
    While 1
        MouseClick("Left", , ,30)
    WEnd
EndFunc
WOW - thats it?

How fast will it click and will it repeat clicking as long i hold the left mouse button?

Thnx for this fast reply, so cool!

Share this post


Link to post
Share on other sites

aww, maybe I am not sure how to work it right. ^^

I placed the script into the Scriptwriter: AU3Record

and I replaced {Home} with {D}

and saved the file as mouse.au3

Than I compiled it as mouse.exe, started it and pressed "D",

but it didnt work.

I guess I did something wrong?

I just want something like, "replace left-click with button D"

as example, so I need only to push&hold button D on my keyboard instead of clicking!

(I will put something heavy on the button than ^^)

Edited by JasonBurn

Share this post


Link to post
Share on other sites

aww, maybe I am not sure how to work it right. ^^

I placed the script into the Scriptwriter: AU3Record

and I replaced {Home} with {D}

and saved the file as mouse.au3

Than I compiled it as mouse.exe, started it and pressed "D",

but it didnt work.

I guess I did something wrong?

I just want something like, "replace left-click with button D"

as example, so I need only to push&hold button D on my keyboard instead of clicking!

(I will put something heavy on the button than ^^)

Look at Send in the helpfile. Make sure the send is correct :D

Share this post


Link to post
Share on other sites

*sigh*

I dont get it. Cant someone just compile are working exe? *help!*

I just need to replace a leftmouseclick with a button of my keyboard.

So I can place something on this button and it will keep on "leftclicking".

Share this post


Link to post
Share on other sites

*sigh*

I dont get it. Cant someone just compile are working exe? *help!*

I just need to replace a leftmouseclick with a button of my keyboard.

So I can place something on this button and it will keep on "leftclicking".

#include <Misc.au3>

HotKeySet("{F5}", "Start")

Opt("MouseClickDelay", 10)

While 1

Sleep (10)

WEnd

Func Start()

While _IsPressed ("74")

MouseClick("Left")

WEnd

EndFunc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...