Results 1 to 7 of 7

Thread: Hotkey to activate plugin?

  1. #1
    Registered bigz1's Avatar
    Join Date
    Apr 2006
    Location
    NZ
    Posts
    487
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Feb 2006
    Location
    Israel
    Posts
    30
    Downloads
    0
    Uploads
    0
    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
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    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

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  4. #4
    Registered bigz1's Avatar
    Join Date
    Apr 2006
    Location
    NZ
    Posts
    487
    Downloads
    0
    Uploads
    0
    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
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    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

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • #6
    Registered
    Join Date
    Feb 2006
    Location
    Israel
    Posts
    30
    Downloads
    0
    Uploads
    0
    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
    Registered neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3,424
    Downloads
    0
    Uploads
    0

    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. TurboCAD CAM plugin
      By Fluxion in forum TurboCAD/CAM
      Replies: 10
      Last Post: 06-27-2009, 03:37 PM
    2. Replies: 4
      Last Post: 11-13-2007, 09:32 AM
    3. How to activate part timer on 10t?
      By Crashmaster in forum Fanuc
      Replies: 12
      Last Post: 09-20-2007, 08:05 PM
    4. Can't get plugin to work
      By Genguy in forum Mach Wizards, Macros, & Addons
      Replies: 6
      Last Post: 01-18-2007, 02:12 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.