585,752 active members*
3,798 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Posts
    20

    Calling plugin via button?

    I've activated the webcam plugin in UCCNC and would like to activate the plugin via a button on the run screen rather than having to go thru the config/general/plugins/show route. Is that possible? Ideally I'd like to be able to specify the location and size of the popup screen but that's not necessary. Just getting it to activate by a button would be great.

  2. #2
    Join Date
    Apr 2014
    Posts
    215

    Re: Calling plugin via button?

    Yup it is possible...

    through calling a macro:
    Function: void Pluginshowup(string Pluginfilename)
    Description: This function calls a Plugin file's Showup_event(); function. This is useful when the plugin should do something on a button press event, forexample when it should show it's GUI interface.
    Example: exec.Pluginshowup("Plugintest.dll");

    Not sure if it's in the present release but it will be available shortly.

    Rob

  3. #3
    Join Date
    Oct 2005
    Posts
    1145

    Re: Calling plugin via button?

    Yes PluginShowup() works now. You would create it in a Macro inside the series of macros assigned for buttons (m20000 - m20999) then you can assign that macro to a button on screen.

    Robert is paying better attention than I am (;-) . I must be slowing down.

    (;-) TP

  4. #4
    Join Date
    Apr 2014
    Posts
    215

    Re: Calling plugin via button?

    Quote Originally Posted by vmax549 View Post
    Robert is paying better attention than I am (;-) . I must be slowing down.

    (;-) TP
    .... ahh but I'm only answering 1/2 the question missed the button macro bit.... oops....

    rob

  5. #5
    Join Date
    May 2006
    Posts
    20

    Re: Calling plugin via button?

    robert and vmax549, thanks for the quick response. I had assumed there would be a way to do it. Great to have such helpful members here. Regards.

Similar Threads

  1. Xbox360 Controller Plugin Macros/Button Assignments
    By Wolfspaw in forum Mach Wizards, Macros, & Addons
    Replies: 0
    Last Post: 05-09-2014, 01:44 AM
  2. Calling a Tool up
    By MBG in forum G-Code Programing
    Replies: 10
    Last Post: 04-30-2008, 03:04 AM
  3. Calling all machinist!
    By MattF811 in forum Employment Opportunity
    Replies: 5
    Last Post: 10-29-2007, 08:42 PM
  4. Help with calling a subroutine
    By hindocarina in forum Mach Mill
    Replies: 2
    Last Post: 02-12-2007, 04:32 AM
  5. Calling All Richmonders!
    By Robyn in forum Trade Shows / Webinars / Other Events
    Replies: 0
    Last Post: 06-05-2006, 01:24 PM

Tags for this Thread

Posting Permissions

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