Hello Guest it is May 12, 2021, 01:34:19 AM

Author Topic: How to programmatically detect if jog keys are active ?  (Read 1522 times)

0 Members and 1 Guest are viewing this topic.

How to programmatically detect if jog keys are active ?
« on: May 09, 2012, 02:43:51 AM »
Apologize if asking obvious, that is my first stab into Mach3 scripting.

As per subject - is there any way in scripting to detect if jog keys (arrows) are active ?

And another question - DoOEMButton(323) is toggling visibility of "Screen 50" MPG Jog.
How can I detect in script the state (IsVisible?) if Screen 50 is in visible state or not.

I am trying to utilize USB numeric keypad, since my monitor is far away from the router.
I also would like to assign two sets of functions to numerical keys, so depending on the
NumLock State they are used as jog keys (and related), or for the secondary set of
functions.

I would like to use NumLock LED to have a handy indicator which set is active:
NumLock LED ON - jog keys active
NumLock LED OFF - addtional macros active
(please see attachment - JOG ACTIVE label next to NumLock LED)

Thank you for any helpful answers.




Re: How to programmatically detect if jog keys are active ?
« Reply #1 on: May 10, 2012, 07:54:48 AM »
Never mind.