Formatted for AutoIt with the GeSHI Syntax Highlighter [copy or print]
#SingleInstance,Force Clicks = 2 Delay = 50 Gosub,TRAYMENU RShift & Up::Clicks += 1 RShift & Right::Clicks += 100 RShift & Down::Clicks -= 1 RShift & Left::Clicks -= 100 RCtrl & Up::Delay += 1 RCtrl & Right::Delay += 100 RCtrl & Down::Delay -= 1 RCtrl & Left::Delay -= 100 RShift & Backspace::Clicks = 2 RCtrl & Backspace::Delay = 50 RShift:: SetTimer, RemoveTrayTip, 2500 RCtrl:: SetTimer, RemoveTrayTip, 2500 RShift & LButton:: Loop, %Clicks% { } RShift & RButton:: Loop, %Clicks% { } RShift & MButton:: Loop, %Clicks% { } RShift & Esc::ExitApp SETTINGS: Gui, Destroy Gui, Add, Text,, Clicks: Gui, Add, Edit, vClicks Gui, Add, Text,, Delay: Gui, Add, Edit, vDelay Gui, Show ButtonOK: Gui, Submit SetTimer, RemoveTrayTip, 2500 CONTROLS: MsgBox,, SuperClick Controls, RShift and Left/Right/Middle Click (SuperClick) `nTap RCtrl for Delay information. `nTap RShift for Clicks information. `nRShift and Down (-1 Clicks) `nRShift and Up (+1 Clicks) `nRShift and Left (-100 Clicks) `nRShift and Right (+100 Clicks) `nRShift and Backspace (2 Clicks) `nRCtrl and Down (-1ms Delay) `nRCtrl and Up (+1ms Delay) `nRCtrl and Left (-100ms Delay) `nRCtrl and Right (+100ms Delay) `nRCtrl and Backspace (50ms Delay) `nRShift and Esc (Exit) TRAYMENU: Menu,Tray,NoStandard Menu,Tray,DeleteAll Menu,Tray,Add,Settings,SETTINGS Menu,Tray,Add,Controls,CONTROLS Menu,Tray,Tip,SuperClick RemoveTrayTip: SetTimer, RemoveTrayTip, Off EXIT: ExitApp
I know noone requested this, but I figured that others might benefit from this in some way, it's my first script. =P
EDIT: Nevermind! I found an icon.

EDIT 2: Added support for right and middle mouse buttons!
EDIT 3:
EDIT 4: Fixed delays not working, they're fine now. I had to completely change how the click sending is done, it's through a loop now. And the delay time now puts the clicks through a Sleep command for the amount of time speicified under Delay, repeating the loop depends on how many "Clicks" it's currently set to send, so 2 clicks = loop 1 time, 5 clicks = loop 4 times, etc.
EDIT 5: Tested Win+Click, all appeared to be well until I HELD DOWN the Windows key while I clicked, then it went spazzy.. So, for now. I changed Left Shift and Left Control to Right Shift and Right Control, since Left Shift and Left Control are more widely used due to Copying, Pasting, Cutting, etc. Suggestions are still welcome! I'm learning as I go, so, I'll try my best. =P






Logged












- why would one want a delay?
