16053
« on: March 26, 2010, 11:09:13 AM »
I personally dont like hotkeys for a couple of reasons, firstly it is easy to press a key by mistake and the machine will do whatever that hotkey is assigned as. Secondly you need to have the button on the screen for a hotkey to work.
If you want to use HotKeys you can make a VB button with your code and have the hotkey set for that button, use either Screen4 or MachScreen to do that.
The way I do things is I use Scott Schaefers (poppabear) MachMad plugin, it will look at a LED and then when seen will run a custom macro of your choosing. That way you can have your switch set to an input and have the plugin look for the inputs LED. If you dont have eonough inputs that have LEDs as standard you can use a Brain to look at OEM Triggers and switch a user LED. You dont actually need the LEDs on the screen either, just as long as the Brain is switching it on Mach will see it.
Doing it this way (inputs or OEM Trigger) you will not need to have the button on the screen and it will work no matter what page of the screenset you are on at the time.
Rev 4 of Mach should have that functionality built in but in the meantime your options are as above.
Hood