Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Bob Hepple on January 03, 2008, 01:25:02 PM
-
can soemone point me in right direction I want to call the tab key off my shuttle so I want todo a mackro but how do I call the tab key
-
I am competant enough at writing the logic of Macros, but the actual syntax of Mach 3 Vis Basic is a bit of a mystery, and I don't know where to get it from. There is a starter video under "scripting". A "brain" might be the answer. Perhaps the big boys can help.
I cannot see why you want to press a key on a keyboard from somewhere else - surely it is the function behind the keypress you want to activate
-
I want to access the jog screen remotely, as I am in a wheelchaire and the keyboard is not accessable I control the machine remotely and the the jog screen is a real pain to access hiting the tab mouse atc are all wireless anyone else HELP
-
Here is a way:
Drop this screen called: "1024jogcontrol.set" into your main mach3 directory.
Goto Config>system hotkeys>in the OEM trigger1 box put the number 12 hit ok
Goto Config>Ports and Pins>Inputs tab scroll down and enable OEMTrigger1 set the port and pin you want to have OEMTrigger1 come in on. Hit Apply, ok. (make sure you got the active high or low correct (or auto set), depending on your system.
when you push your external button that comes in on OEMTrigger1, it will pull up the "Jog Screen". NOTE: I tried to have screen 50 activate but it doesnt load correctly, since I have no way to "Push" the Tab key itself and emulation doesnt work correctly. so I just moved the Jog control to screen 12.
Flash can actually "Push Buttons" or emulate Button Push calls, so you could probably do this in Flash exactly like you want, but this is the only way I personally know how to bring it up.
Scott
-
Found another way
This VB script: SendKeys "{Tab}, True"
Will "Push" the Tab Key from within the application,
So in the Macro pump or the OEM run macro function
you can put this in the Macropump or a Macro.m1s (assumes your using Input1)
If IsActive(INPUT1) Then
SendKeys "{Tab}, True"
End If
Scott
-
I want to access the jog screen remotely, as I am in a wheelchaire and the keyboard is not accessable I control the machine
remotely and the the jog screen is a real pain to access hiting the tab mouse atc are all wireless anyone else HELP
Bob I might have misunderstood what you need so just disregard this if that is so.
Why not simply place the jog buttons or whatever else you need on the front page.
This can easily be done with Screen4.
If I am on the right track then sing out and we can help you with this.
Greg