Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 clicks instead of one
#1
Hi guys.
Please tell me how to make it so that in a certain area of ​​the screen when pressed with one click, 2 clicks occur.
Thank you.
#2
need two clicks instead of one in a certain area of the screen
#3
Need Two Functions. One Regular with a Trigger and one FilterFunction

Function DoubleClickWhenInRectangle
Trigger #L //FFT_Mouse_Is_In_Rectangle3     Help - how to add the trigger to the macro
Code:
Copy      Help
POINT p; xm(p) ;;get mouse position into p.x and p.y
dou p.x p.y

Function FFT_Mouse_Is_In_Rectangle3
Code:
Copy      Help
;/
;Allows starting macro when mouse pointer is in certain rectangle area in the screen.
;For mouse-click and mouse-wheel triggers.

function# iid FILTER&f

RECT r; SetRect &r 0 0 100 100 ;;change these values (left, top, right, bottom)

if(PtInRect(&r f.x f.y)) ret iid
ret -2
#4
man you are a genius


Forum Jump:


Users browsing this thread: 1 Guest(s)