JasonBurn Posted January 31, 2008 Posted January 31, 2008 (edited) 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 January 31, 2008 by JasonBurn
ReaImDown Posted January 31, 2008 Posted January 31, 2008 (edited) 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 January 31, 2008 by ReaImDown [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]
JasonBurn Posted January 31, 2008 Author Posted January 31, 2008 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!
JasonBurn Posted January 31, 2008 Author Posted January 31, 2008 (edited) 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 January 31, 2008 by JasonBurn
BrettF Posted January 31, 2008 Posted January 31, 2008 aww, maybe I am not sure how to work it right. ^^I placed the script into the Scriptwriter: AU3Recordand I replaced {Home} with {D}and saved the file as mouse.au3Than 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 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
JasonBurn Posted January 31, 2008 Author Posted January 31, 2008 *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".
BrettF Posted January 31, 2008 Posted January 31, 2008 *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)WEndFunc Start() While _IsPressed ("74") MouseClick("Left") WEndEndFunc Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
BrettF Posted January 31, 2008 Posted January 31, 2008 No PMs. Read my last reply. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
JasonBurn Posted January 31, 2008 Author Posted January 31, 2008 (edited) /edit ah great, finally it worked out. after a reboot it worked. thnx for the help! Edited January 31, 2008 by JasonBurn
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now