v12
Marcus,
Sometimes I want an event to be turned off. Is there a way to undo an OnEvent trigger? If not, could you make this possible?
For example. When numlock is on I want pressing F2 to cause my macro to jump to a srt. But if numlock is off I don't want the trigger. I have tried re-directing the OnEvent, but that causes delay problems.
Maybe it could be...
OnEvent>Key_Down,VK113,0,MySrt,Off
I don't know, you probably have better concepts, but something in that order.
Thanks.
OnEvent / Key_Down (Suggestion)
Moderators: JRL, Dorian (MJT support)
OnEvent / Key_Down (Suggestion)
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Right now you need to set a flag. E.g. your OnEvent subroutine could look something like:
And then if you want to disable the event you set flag to 0 and to enable it again set it to 1.
But the ability to turn off OnEvents is on the wish list.
Code: Select all
SRT>MyEvent
If>flag=1
.. do stuff
Endif
End>MyEvent
But the ability to turn off OnEvents is on the wish list.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Thanks
Thanks, Marcus for putting that on the wish list.
Armsys, thanks. I'll try that. What I did was have it return to itself, but that caused lag in response. Maybe making the srt Null directly under the OnEvent will help too.
Armsys, thanks. I'll try that. What I did was have it return to itself, but that caused lag in response. Maybe making the srt Null directly under the OnEvent will help too.
Windows 7
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!
PepsiHog. Yep! I drink LOTS of Pepsi (still..in 2024) AND enjoy programming. (That's my little piece of heaven!)
The immensity of the scope of possibilities within Macro Scheduler pushes the user beyond just macros!