Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need some help with a function
#4
thanks for shutdown -6 0 "function"

---
Gintaras- wait 0 K a
shutdown -6 0 "function name"
It waits until A is released and then kills the specified function

Not really what i was looking for "on release" but i came up with this that works pretty good

g1
rep
0.1
ifk(F2)
goto g2
goto g1
g2
1.9
ifk(F2)
shutdown -6 0 function ;; function shutdown after 2 seconds of holding key F2
goto g1

---
I get what your saying about enable/disable macros using keyboard triggers, thanks alot.
I looked at Blockinput2 and it is a little beyond me, im not even sure where to place the downloaded file to be able to use the function in quick macros. ie; blockinput2 is not dark red.
*** sorry my code didnt format correctly, figure that out another time[/code]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)