Cleaned up the new macro command syntax
This commit is contained in:
parent
53b7576b17
commit
117c09b9f1
6 changed files with 36 additions and 11 deletions
|
|
@ -160,7 +160,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
}
|
||||
if (TryGetAfterString(lineToSend, "repeat_gcode", out value))
|
||||
{
|
||||
foreach(string line in value.Split('\n'))
|
||||
foreach(string line in value.Split('|'))
|
||||
{
|
||||
commandsToRepeat.Add(line);
|
||||
}
|
||||
|
|
@ -184,7 +184,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
break;
|
||||
|
||||
case "show_message":
|
||||
waitingForUserInput = macroData.waitOk;
|
||||
waitingForUserInput = macroData.waitOk | macroData.expireTime > 0;
|
||||
UiThread.RunOnIdle(() => RunningMacroPage.Show(macroData));
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue