Scripting 7. Scripting the editors

With a Praat script, you can automate your work in the editors.

Warning: if the purpose of your script is to get information about analyses (pitch, formants, intensity, spectrogram) from the Sound, we do not advise to script the Sound editor window. It is much simpler, faster, and more reproducible to create the analyses with the commands of the dynamic menu, then use the Query commands of the dynamic menu to extract information from the analyses. This also applies if you want to use a TextGrid to determine the times at which you want to query the analyses. See Scripting examples.

  Scripting 7.1. Scripting an editor from a shell script (editor/endeditor)
  Scripting 7.2. Scripting an editor from within

### Links to this page

- `editor`
- `endeditor`
- Scripting