<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Nina,</p>
<p>You can indeed script Phon using PhonShell, however it is not
like Praat in the way the scripting works. Praats scripts are, as
you have mentioned, commands tied to menu entries in the
application. PhonShell instead provides a full scripting
environment with access to everything in the runtime classpath of
the application. You may choose to use either JavaScript or Groovy
for the language. There is documentation at
<a class="moz-txt-link-freetext" href="https://www.phon.ca/phon-manual/tools/phonshell.html">https://www.phon.ca/phon-manual/tools/phonshell.html</a> outline what
variables are available inside a PhonShell context (the most
important one being the 'window' variable) as well as API
documentation available at <a class="moz-txt-link-freetext" href="https://www.phon.ca/apidocs/">https://www.phon.ca/apidocs/</a>.</p>
<p>I can help with getting you started, but I would need to know
more about what you are trying to do. Please contact my personal
email and we can continue this discussion.</p>
<p>Cheers,</p>
<p>-Greg<br>
</p>
<div class="moz-cite-prefix">On 9/17/2021 16:36, 'Nina R Benway' via
Phon wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CH0PR01MB7202C537E14BF3FD5B412FF9C2DD9@CH0PR01MB7202.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Sherman Sans";
panose-1:0 0 0 0 0 0 0 0 0 0;}@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}@font-face
{font-family:"Sherman Serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Sherman Sans";
color:windowtext;
font-weight:normal;
font-style:normal;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Sherman
Sans"">Hi Greg,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans"">Yvan suggested that I pass this question along
to you. I’m wondering if Phon menu commands are scriptable,
via the PhonShell, and if there is documentation of the
syntax that I can use as a reference when writing such
scripts. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans";color:black">Thanks!</span><span
style="font-family:"Sherman Sans""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans";color:black">Nina</span><span
style="font-family:"Sherman Sans""><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Tahoma",sans-serif;color:#000E54">________________________<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Sherman
Serif";color:#D74100">Nina R Benway MS CCC-SLP</span></b><span
style="font-family:"Sherman Serif";color:#1F497D"><br>
</span><span style="font-family:"Sherman
Serif";color:#000E54">PhD Candidate<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Serif";color:#000E54">Department of Communication
Sciences
</span><span style="font-family:"Sherman
Sans";color:#000E54">and Disorders<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Sherman
Sans";color:#000E54">Interdisciplinary Graduate
Neuroscience Concentration</span><span
style="font-family:"Sherman Serif";color:#000E54"><br>
Syracuse University<br>
NYS Licensed, ASHA Certified Speech-Language Pathologist<br>
NYS Certified Teacher of the Gifted and Talented<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:"Sherman
Serif";color:#000E54"><a
href="https://nrgslp.github.io/" moz-do-not-send="true"><span
style="color:#000E54">nrgslp.github.io</span></a><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-family:"Sherman
Serif";color:#000E54"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
-- <br>
You received this message because you are subscribed to the Google
Groups "Phon" group.<br>
To unsubscribe from this group and stop receiving emails from it,
send an email to <a
href="mailto:phon+unsubscribe@googlegroups.com"
moz-do-not-send="true">phon+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/phon/CH0PR01MB7202C537E14BF3FD5B412FF9C2DD9%40CH0PR01MB7202.prod.exchangelabs.com?utm_medium=email&utm_source=footer"
moz-do-not-send="true">https://groups.google.com/d/msgid/phon/CH0PR01MB7202C537E14BF3FD5B412FF9C2DD9%40CH0PR01MB7202.prod.exchangelabs.com</a>.<br>
</blockquote>
</body>
</html>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "Phon" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:phon+unsubscribe@googlegroups.com">phon+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/phon/bb6e2ca9-8ad4-c0b3-d431-b08c7741290f%40gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/phon/bb6e2ca9-8ad4-c0b3-d431-b08c7741290f%40gmail.com</a>.<br />