586,635 active members*
3,075 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2017
    Posts
    2

    Question uccnc macro text box ?

    Can anyone help a newcomer to UCCNC? Is there a way to get text box input from a macro using C# or is this not possible? Thank you.

  2. #2
    Join Date
    Mar 2010
    Posts
    813

    Re: uccnc macro text box ?

    Hey petroz,

    Maybe if you explained on what your trying to accomplish we can be of more help.

    Dan

  3. #3
    Join Date
    Jun 2015
    Posts
    943

    Re: uccnc macro text box ?

    Quote Originally Posted by petroz View Post
    Can anyone help a newcomer to UCCNC? Is there a way to get text box input from a macro using C# or is this not possible? Thank you.
    The easiest is to use the built-in functions, copy from the documentation:

    Function: string TextQuestion(string Questiontext)
    Description: This function shows a Question form waiting for a string as the answer. The text of the question shown on the Form is the parameter.
    Example: string val = exec.TextQuestion("Stop code execution?");

    Function: double Question(string Questiontext)
    Description: This function shows a Question form waiting for a double value as the answer. The text of the question shown on the Form is the parameter.
    Example: double val = exec.Question("What X position to move?");

    but you can also make your own forms if you want.

  4. #4
    Join Date
    Feb 2017
    Posts
    2

    Re: uccnc macro text box ?

    Thanks
    the example is what I needed.

Similar Threads

  1. UCCNC Macro sharing
    By BanduraMaker in forum UCCNC Control Software
    Replies: 64
    Last Post: 02-04-2023, 12:17 AM
  2. UCCNC macro help
    By cnc_rosh in forum UCCNC Control Software
    Replies: 6
    Last Post: 01-25-2017, 05:13 PM
  3. UCCNC Controlling HY VFD via Macro
    By Dan911 in forum UCCNC Control Software
    Replies: 10
    Last Post: 11-02-2016, 01:18 AM
  4. Uccnc - macro dialog box, how?
    By robertspark in forum UCCNC Control Software
    Replies: 4
    Last Post: 06-27-2016, 04:17 AM
  5. UCcnc macro scripting suggestions
    By vmax549 in forum UCCNC Control Software
    Replies: 5
    Last Post: 08-07-2015, 06:49 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
  •