586,042 active members*
3,668 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Posts
    512

    Hotkey to activate plugin?

    Just added a webacam for edgefinding. I have put a button on screen to turn on the video plugin. What I want o nknow is how to hotkey the plugin so I can asign it to the button?

  2. #2
    Join Date
    Feb 2006
    Posts
    32
    Basically you have to use Keygrabber.
    Go to mach website or just open the following PDF
    http://machsupport.com/documentation/Customizing.pdf
    Read pages 8-1 to 8-1-10

    Michel

  3. #3
    Join Date
    Mar 2003
    Posts
    35538
    If you have the button working, you can use Screen designer to assign a hotkey to it. If you want to know how to get the button to work, I can't help you there. But if it does work, I'd like to know how you did it.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Apr 2006
    Posts
    512
    Quote Originally Posted by micsit1 View Post
    Basically you have to use Keygrabber.
    Go to mach website or just open the following PDF
    http://machsupport.com/documentation/Customizing.pdf
    Read pages 8-1 to 8-1-10

    Michel
    Michel how can assign a hotkey to open up the video camera plugin with keygrabber?

    Ger21 as soon as figured this out I will let you know. I have got the button working and I know how to asign a hotkey it just linking it to the plugin.

  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    Quote Originally Posted by bigz1 View Post
    I have got the button working and I know how to asign a hotkey it just linking it to the plugin.
    I don't think you can do that, but you'll need to ask Brian on the Yahoo group to get a good answer.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  6. #6
    Join Date
    Feb 2006
    Posts
    32
    1. A video cam is not recognized as HID by Keygrabber.

    2. Plugin control on first upper row is not part of any screen therefore you cannot see or assign a button to it using any screen designer. It's part of Microsoft Windows internal program and is built off from scratch at the initial code writting of any program under MSWINDOWS.

    3. I am not sure if U can use a macro (VB script) to run it under Mach3, ask someone more experienced in this field.

    Michel

  7. #7
    Join Date
    Jun 2007
    Posts
    3757

    Question Stuff the keyboard buffer.

    At low level you can stuff a key into the keyboard buffer.
    A low level DOS/Windows type program can be call from VB.
    If you stuff Alt-tab you could swap to another program, just like hitting the keyboard.
    Is it really worth the effort? Just use Alt-tab to swap to the program.
    Windows will do all the hard work.
    Start the camera program before Mach3.
    Caveat:
    Mach3 might not work properly if you steal focus from it (and especially the keyboard), but if you are not running G-Code at the the time who cares.
    If you don't run Mach3 in full screen, you should be able to see at least part of your camera view, if the software driving it updates in the background.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

Similar Threads

  1. Replies: 6
    Last Post: 05-03-2015, 10:25 AM
  2. TurboCAD CAM plugin
    By Fluxion in forum Uncategorised CAM Discussion
    Replies: 10
    Last Post: 06-27-2009, 08:37 PM
  3. How to activate part timer on 10t?
    By Crashmaster in forum Fanuc
    Replies: 12
    Last Post: 09-21-2007, 01:05 AM
  4. Can't get plugin to work
    By Genguy in forum Mach Wizards, Macros, & Addons
    Replies: 6
    Last Post: 01-18-2007, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •