My script is currently tied to mouse3 but I want it to be tied to just simply the elements themselves...
My current script that I want tied to simply clicking on any of the ads, rather than having to middle click them:
Code: Select all
^Mbutton::
SetTitleMatchMode, Regex
SetTitleMatchMode, Slow
sleep, 22
WinActivate, craigslist
BlockInput, MouseMove
Hotkey, WheelUp, nothing, On ;nothing refers to a script below that binds that hotkey to nothing at all
Hotkey, WheelDown, nothing, On
Hotkey, Control, Nothing, On
sleep, 44
sendinput, +{Lbutton}
sleep, 333
WinGet, active_id, ID, A
GroupAdd, One, ahk_id %active_id%
sleep, 122
WinMove, ahk_group One,, 1519, 0, 405, 288 ;;moves it into the corner
sleep, 66
return