Author Topic: Disable keyboard control on startup?  (Read 923 times)

0 Members and 1 Guest are viewing this topic.

Offline TommyG

  • Active Member
  • Posts: 21
    • View Profile
Disable keyboard control on startup?
« on: August 09, 2016, 09:44:30 AM »
Hi

Can anyone advise if there's a script option to disable the keyboard plug-in on start-up? It's rather confusing to word, I'm not looking to actually disable the plug-in itself, just to have the equivalent option of clicking on the keyboard icon in the taskbar so that keyboard jogging, etc. are disabled?

For example, I have "mc.mcSoftLimitSetState(inst, 0, 1)", etc.  in my screen load script to automatically enable soft limits, is there an equivalent for the keyboard icon.

On a related note, is there a comprehensive list of the Mach4 scripting commands available?

thanks

Offline DazTheGas

  • Active Member
  • Posts: 743
  • DazTheGas
    • View Profile
Re: Disable keyboard control on startup?
« Reply #1 on: August 09, 2016, 12:52:16 PM »
Have a look in the Screen Load Script, there is a function called "Keyboard Inputs Toggle()" this should be what you are looking.

DazTheGas

Theres always time for a choccy biccy

Offline Chaoticone

  • Administrator
  • *
  • Posts: 5,459
  • Precision Chaos
    • View Profile
Re: Disable keyboard control on startup?
« Reply #2 on: August 09, 2016, 01:25:14 PM »
Also, the KeyboardInputsToggle function was updated on 5-16-16. So..... if your not running one of the latest test version you might want to update.

ftp://anonymous:guest@machsupport.com/Mach4/DevlopmentVersions/Mach4Hobby%20Installer-4.2.0.3130.exe

If you do update I would begin with one of the default profiles.
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline TommyG

  • Active Member
  • Posts: 21
    • View Profile
Re: Disable keyboard control on startup?
« Reply #3 on: August 13, 2016, 07:16:34 AM »
Thanks folks