Hi Claudia
Sorry, that took me a while to look into, as I've never bumped into this functionality before.
So,
as far as I can tell, the original command is in the editor, and has
been there for a while (i.e., has not just been added recently to Praat)
? The problem is that to open/access this editor, "View & Edit"
needs to be run, as the editor needs to be opened the use the "editor:"
block. And as Parselmouth doesn't initialize the graphical user
interface, it's not possible to open this editor. And as I haven't
really bumped into such and issue before (normally, all editor window
commands also exist in the main object window), I haven't thought
of/implemented a workaround for this in Parselmouth.
Note that it's the same issue if I try to run the pure Praat scrip from the command line:
$ praat test.praat
Error: Cannot edit a TextGrid from batch.
Script line 7 not performed or completed:
« View & Edit »
Script “/home/yannick/test.praat” not completed.
Praat: script command <<test.praat>> not completed.
or
$ praat test.praat
Error: Editor "TextGrid the_north_wind_and_the_sun" does not exist.
Formula not run.
Script line 8 not performed or completed:
« editor: "TextGrid " + basename$ »
Script “/home/yannick/test.praat” not completed.
Praat: script command <<test.praat>> not completed.
What I could do, is spend a bit of time this weekend to update Parselmouth's internal Praat version this weekend. You could then download and install a pre-release version of Parselmouth 0.5.0.
Would this help you, and are you happy to then use a development version?
Kind regards
Yannick