sendpraat -V (return code: 1)
sendpraat: Cannot create message file "/root/.--version-dir/message" (no privilege to write to directory, or disk full, or program is not called --version).
sendpraat (return code: 0)
Syntax: sendpraat [<timeOut>] <program> <message> Arguments: <program>: the name of a running program that uses the Praat shell. <message>: a sequence of Praat shell lines (commands and directives). <timeOut>: the number of seconds that sendpraat will wait for an answer before writing an error message. A <timeOut> of 0 means that the message will be sent asynchronously, i.e., that sendpraat will return immediately without issuing any error message. Usage: Each line is a separate argument. Lines that contain spaces should be put inside double quotes. Examples: sendpraat 0 praat Quit Causes the program "praat" to quit (gracefully). This works because "Quit" is a fixed command in Praat's Control menu. Sendpraat will return immediately. sendpraat 1000 praat "Play reverse" Causes the program "praat", which can play sounds, to play the selected Sound objects backwards. This works because "Play reverse" is an action command that becomes available in Praat's dynamic menu when Sounds are selected. Sendpraat will allow "praat" at most 1000 seconds to perform this. sendpraat praat "execute ~/MyResearch/MyProject/MyScript.praat" Causes the program "praat" to execute a script. Sendpraat will allow "praat" at most 10 seconds (the default time out). sendpraat als "for i from 1 to 5" "Draw circle... 0.5 0.5 0.1*i" "endfor" Causes the program "als" to draw five concentric circles into its Picture window.