| 1 | <html><head><meta name="robots" content="index,follow"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | <title>Scripting 7. Scripting the editors</title> |
| 3 | <style> |
| 4 | td { padding-left: 5pt; padding-right: 5pt; } |
| 5 | th { padding-left: 5pt; padding-right: 5pt; } |
| 6 | code { white-space: pre-wrap; } |
| 7 | dd { white-space: pre-wrap; } |
| 8 | </style> |
| 9 | </head><body bgcolor="#FFFFFF"> |
| 10 | |
| 11 | <table border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#CCCC00"><table border=4 cellpadding=9><tr><td align=middle bgcolor="#000000"><font face="Palatino,Times" size=6 color="#999900"><b> |
| 12 | Scripting 7. Scripting the editors |
| 13 | </b></font></table></table> |
| 14 | <p>With a Praat script, you can automate your work in the editors.</p> |
| 15 | <p><b>Warning</b>: if the purpose of your script is to get information about analyses (pitch, formants, intensity, spectrogram) from the Sound, we do <i>not</i> advise to script the Sound editor window. It is much simpler, faster, and more reproducible to create the analyses with the commands of the <a href="Dynamic_menu.html">dynamic menu</a>, 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 <a href="Scripting_examples.html">Scripting examples</a>.</p> |
| 16 | <dl> |
| 17 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> <a href="Scripting_7_1__Scripting_an_editor_from_a_shell_script.html">Scripting 7.1. Scripting an editor from a shell script</a> (editor/endeditor)</dd> |
| 18 | <dd style="position:relative;padding-left:1em;text-indent:-2em"> <a href="Scripting_7_2__Scripting_an_editor_from_within.html">Scripting 7.2. Scripting an editor from within</a></dd> |
| 19 | </dl> |
| 20 | <h3>Links to this page</h3> |
| 21 | <ul> |
| 22 | <li><a href="_editor_.html"><code><font size=+1>editor</font></code></a> |
| 23 | <li><a href="_endeditor_.html"><code><font size=+1>endeditor</font></code></a> |
| 24 | <li><a href="Scripting.html">Scripting</a> |
| 25 | </ul> |
| 26 | <hr> |
| 27 | <address> |
| 28 | <p>© Paul Boersma 2004,2023</p> |
| 29 | </address> |
| 30 | </body> |
| 31 | </html> |