when I call the editor to change the loaded G-code, I would like to start Notepad++. I have created the macro M20000.txt with the following content for this purpose:
- Code: Select all
// call Notepad++
string gcpath = exec.Getgcodefilename();
System.Diagnostics.Process.Start("C:\Program Files\Notepad++\notepad++.exe",gcpath).WaitForExit();
exec.Loadfile(gcpath);
The call works, however the macro makes an error:
- Code: Select all
UCCNC macro compiler error log file
--------------------------------------
Last error dated: 8/4/2021 7:55:53 PM
In macro: M20000
--------------------------------------
CS1009 | in line: 14 | error text: Nicht erkannte Escapesequenz.
CS1009 | in line: 14 | error text: Nicht erkannte Escapesequenz.
--------------------------------------
(In M20000.txt is no line 14 !)
The code snippet is from an old thread by Dan911 » Sun Sep 16, 2018 9:39 am: Things to make the Gcode editor better !
can someone help me out? The version of UCCNC is 1.2113
Peter