Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv
- SendMode Input
- Coordmode, Mouse, Window
- SetTimer, Reset, 100
- global Count := 1
- #If WinActive("OSBuddy") AND MouseWithin(395,192) AND Count(3, 1)
- $WheelUp::
- $WheelDown::
- Click Left
- Return
- #If WinActive("OSBuddy") AND MouseWithin(395, 192) AND Count(3, 2)
- $WheelUp::
- $WheelDown::
- MouseMove, 33, 0, 90, R
- Return
- #If WinActive("OSBuddy") AND MouseWithin(395, 192) AND Count(3, 3)
- $WheelUp::
- $WheelDown::
- Click Left
- Return
- Reset:
- If (A_TimeSinceThisHotkey > 600)
- Count := 1
- Return
- MouseWithin(X1, Y1) {
- MouseGetPos, MX, MY
- If (MX < X1)
- Return 0
- Return 1
- }
- Count(Limit, Check) {
- If (Count = Check) {
- Count := ((Count >= Limit) ? 1 : Count + 1)
- Return True
- }
- Return False
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement