Anyone know how to retrieve the full pathname of the currently active profile file from a macro?
I'ld like to be able to share/update some settings from within a private section in the profile with an external executable...
MessageBox.Show("Macro ID: " + this.macronumber);
MessageBox.Show("Profile Name: " + exec.macroprofilename);
MessageBox.Show("UCCNC Path: " + Application.StartupPath.ToString());
UCCNC macro compiler error log file
--------------------------------------
Last error dated: 10/17/2024 8:35:12 AM
In macro: M2000
--------------------------------------
CS1061 | in line: 10 | error text: 'Macroclass' does not contain a definition for 'macronumber' and no extension method 'macronumber' accepting a first argument of type 'Macroclass' could be found (are you missing a using directive or an assembly reference?)
CS1061 | in line: 12 | error text: 'UCCNC.Executer' does not contain a definition for 'macroprofilename' and no extension method 'macroprofilename' accepting a first argument of type 'UCCNC.Executer' could be found (are you missing a using directive or an assembly reference?)
--------------------------------------
Users browsing this forum: No registered users and 6 guests