Batch file in motion

I was wondering if there is any way to queue a grbl file in motion using the cmd line. I am thinking I can make a fixture that would hold a number of blanks and I could add a level of automation.Using Perl or Python I could submit a job to motion then advance to the next blank then repeat.

Not using Motion (though I’d love AppleScript support in the Mac version).

For that sort of thing look to Processing and so forth, see gctrl &c. at: https://wiki.shapeoko.com/index.php/Communication_/_Control and https://wiki.shapeoko.com/index.php/Programmatic_G-Code_Generators