Page 1 of 1
Launch arguments
Posted:
Fri Jun 21, 2019 8:07 am
by Fabien
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, …)
Re: Launch arguments
Posted:
Fri Jun 21, 2019 11:09 am
by dezsoe
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.
Re: Launch arguments
Posted:
Sat Jun 22, 2019 3:14 pm
by Fabien
Thank you for your help. I will try that.
Re: Launch arguments
Posted:
Sat Jun 29, 2019 5:02 pm
by Fabien
I wanted to integrate with a plugin but it cannot access mainform title...
Re: Launch arguments
Posted:
Thu Jul 25, 2019 1:13 am
by Dan911
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";
}
Re: Launch arguments
Posted:
Mon Feb 22, 2021 8:02 pm
by Fabien
Thank you for your help Dan911 (sorry for the very late response).