Launch arguments

Here is where you can request new features or special features.

Launch arguments

Postby Fabien » Fri Jun 21, 2019 8:07 am

Hello,
I have multiple instances of UCCNC running on the same computer.

/s argument is useful to select the dongle
is that possible to add:
an argument to select a jog UCR201
an argument to change the main window title (very useful if you have multiple Windows to says its's machine 1, …)
Fabien
 
Posts: 7
Joined: Fri Jun 21, 2019 8:04 am

Re: Launch arguments

Postby dezsoe » Fri Jun 21, 2019 11:09 am

You can use the attached macro as a macroloop. Modify it as you need. :)

You cannot turn a plugin on/off after the program has started.
Attachments
M25010.txt
(1020 Bytes) Downloaded 95 times
dezsoe
 
Posts: 896
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Launch arguments

Postby Fabien » Sat Jun 22, 2019 3:14 pm

Thank you for your help. I will try that.
Fabien
 
Posts: 7
Joined: Fri Jun 21, 2019 8:04 am

Re: Launch arguments

Postby Fabien » Sat Jun 29, 2019 5:02 pm

I wanted to integrate with a plugin but it cannot access mainform title...
Fabien
 
Posts: 7
Joined: Fri Jun 21, 2019 8:04 am

Re: Launch arguments

Postby Dan911 » Thu Jul 25, 2019 1:13 am

Fabien wrote:I wanted to integrate with a plugin but it cannot access mainform title...


You can access the mainform title with System.Windows.Forms ContainerControl by using the Text override.

Code: Select all
 public Form(UCCNCplugin Pluginmain)
        {
            InitializeComponent();
            this.UC = Pluginmain.UC;
            this.Pluginmain = Pluginmain;
            Text = "Put your string here";
        }


Dan911
 
Posts: 610
Joined: Mon Oct 31, 2016 1:22 am
Location: USA


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 2 guests