Machsupport Forum
Mach Discussion => Mach4 General Discussion => Mach4 Videos => Topic started by: DazTheGas on September 13, 2016, 01:38:54 PM
-
Another Quicky ;)
https://youtu.be/8KgZ1SYxEdg
0 = Disable
1 = Enable
local Handle = mc.mcIoGetHandle (inst, "Keyboard/Enable")
if Handle ~= nil then
mc.mcIoSetState(Handle,0)
end
-
Awesome. :) Thanks again for your work.
Troy
-
Did you find a way to deactivate keyboard when Mach4 lost focus to?
Keyboard jogging outside Mach4 program is a bit scary :o
Could mcGuiSetFocus be used? in that case, how? I looked around for something like WindowLostFocus() but didnt find anything.
I am a bit supprised that Mach didnt fix this as it can be a bit dangerous...