Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] mouse trigger with right-edge + right click
#2
The hittest option is for window areas, not screen.
Use a filter-function.

Macro Macro2436
Trigger #R //FF_MouseScreenRightEdge     Help - how to add the trigger to the macro
Code:
Copy      Help
out 1

Function FF_MouseScreenRightEdge
Code:
Copy      Help
;/
;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'.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)