📄 scripting.html
字号:
<html><head><meta name="robots" content="index,follow">
<title>脚本</title></head><body bgcolor="#FFFFFF">
<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>
脚本
</b></font></table></table>
<p>
本文系Praat程序的使用教程之一,且假定您已经对<a href="Intro.html">入门教程</a>的内容较为熟悉。</p>
<p>
<i>脚本</i>就是一段包含选单命令和动作命令的文本。只要<i>运行</i>脚本(可能在<a href="ScriptEditor.html">ScriptEditor(脚本编辑器)</a>中进行),这些命令就能像由您亲手单击鼠标一般开始执行。</p>
<p>
您可以按顺序阅读本教程,只需使用“1 >”和“< 1”按钮。</p>
<dl>
<dd>
<a href="Scripting_1__My_first_script.html">脚本 1. 我的第一个脚本</a>(如何创建、如何运行)
<dd>
<a href="Scripting_2__Arguments_to_commands.html">脚本 2. 命令参数</a>(数值、复选、单选、文本、文件)
<dd>
<a href="Scripting_3__Layout.html">脚本 3. 行款</a>(空白、注释、接续行)
<dd>
<a href="Scripting_4__Object_selection.html">脚本 4. 对象选取</a>(选中与查询)
<dd>
<a href="Scripting_5__Language_elements.html">脚本 5. 语言元素</a>
<dd>
<a href="Scripting_5_1__Variables.html">脚本 5.1. 变量</a>(数值、字符串、复制、置换)
<dd>
<a href="Scripting_5_2__Formulas.html">脚本 5.2. 算式</a>(数值、字符串)
<dd>
<a href="Scripting_5_3__Jumps.html">脚本 5.3. 跳转</a>(if、then、elsif、else、endif)
<dd>
<a href="Scripting_5_4__Loops.html">脚本 5.4. 循环</a>(for/endfor、while/endwhile、repeat/until)
<dd>
<a href="Scripting_5_5__Procedures.html">脚本 5.5. 子过程</a>(call、procedure)
<dd>
<a href="Scripting_5_6__Arrays.html">脚本 5.6. 数组</a>
<dd>
<a href="Scripting_5_7__Including_other_scripts.html">脚本 5.7. 包含其他脚本</a>
<dd>
<a href="Scripting_5_8__Quitting.html">脚本 5.8. 退出</a>(exit)
<dd>
<a href="Scripting_6__Communication_outside_the_script.html">脚本 6. 脚本外通信</a>
<dd>
<a href="Scripting_6_1__Arguments_to_the_script.html">脚本 6.1. 脚本参数</a>(form/endform、execute)
<dd>
<a href="Scripting_6_2__Calling_system_commands.html">脚本 6.2. 调用系统命令</a>(system、system_nocheck)
<dd>
<a href="Scripting_6_3__Writing_to_the_Info_window.html">脚本 6.3. 向Info(情报)窗口输出</a>(echo、print、printtab、printline)
<dd>
<a href="Scripting_6_4__Query_commands.html">脚本 6.4. 查询命令</a>(Get、Count)
<dd>
<a href="Scripting_6_5__Files.html">脚本 6.5. 文件</a>(fileReadable、<、>、>>、filedelete、fileappend)
<dd>
<a href="Scripting_6_6__Controlling_the_user.html">脚本 6.6. 指示用户</a>(pause)
<dd>
<a href="Scripting_6_7__Sending_a_message_to_another_program.html">脚本 6.7. 向其他程序发送消息</a>(sendsocket)
<dd>
<a href="Scripting_6_8__Messages_to_the_user.html">脚本 6.8. 向用户发送消息</a>(exit、assert、nowarn、nocheck)
<dd>
<a href="Scripting_6_9__Calling_from_the_command_line.html">脚本 6.9. 从命令行调用</a>
<dd>
<a href="Scripting_7__Scripting_the_editors.html">脚本 7. 编辑器脚本</a>
<dd>
<a href="Scripting_7_1__Scripting_an_editor_from_a_shell_script.html">脚本 7.1. 由外壳控制编辑器脚本</a> (editor/endeditor)
<dd>
<a href="Scripting_7_2__Scripting_an_editor_from_within.html">脚本 7.2. 由内部控制编辑器脚本</a>
<dd>
<a href="Scripting_8__Controlling_Praat_from_another_program.html">脚本 8. 用其他程序控制Praat</a>
<dd>
<a href="Scripting_8_1__The_sendpraat_subroutine.html">脚本 8.1. 通过sendpraat子程序</a>
<dd>
<a href="Scripting_8_2__The_sendpraat_program.html">脚本 8.2. 通过sendpraat程序</a>
<dd>
<a href="Scripting_8_3__The_sendpraat_directive.html">脚本 8.3. 通过sendpraat语句</a>
</dl>
<p>
另外可以参看<a href="Scripting_examples.html">脚本范例</a>。</p>
<h3>指向本页的链接</h3>
<ul>
<li><a href="Feedforward_neural_networks_1_1__The_learning_phase.html">前馈神经网 1.1. 学习阶段</a>
<li><a href="Formulas_1_9__Formulas_in_scripts.html">算式 1.9. 在脚本中使用算式</a>
<li><a href="History_mechanism.html">历史机制</a>
<li><a href="Intro_8_2__Manipulation_of_duration.html">入门教程 8.2. 音长的变换</a>
<li><a href="Praat_script.html">Praat脚本</a>
<li><a href="Programming_with_Praat.html">Praat编程</a>
<li><a href="What_s_new_.html">最近更新</a>
</ul>
<hr>
<address>
<p>© ppgb, October 28, 2004</p>
<p>© 翻译:徐清白,2005年05月09日</p>
</address>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -