09-30-2014, 02:48 AM
The hittest option is for window areas, not screen.
Use a filter-function.
Macro Macro2436
Trigger #R //FF_MouseScreenRightEdge
Function FF_MouseScreenRightEdge
In FF_MouseScreenRightEdge Properties check 'filter function'.
Use a filter-function.
Macro Macro2436
Trigger #R //FF_MouseScreenRightEdge

Function FF_MouseScreenRightEdge
;/
;Allows starting macro when mouse pointer is by the right edge of the screen, primary monitor.
;For mouse-click and mouse-wheel triggers.
function# iid FILTER&f
int x=ScreenWidth-1
if(f.x=x) ret iid
;if(f.x=x or f.x=x-1) ret iid
ret -2
In FF_MouseScreenRightEdge Properties check 'filter function'.