スクリプト・エディタ
You can access the Script Editor for an object by selecting the object then choosing Script from the Toolbar. The Script Editor is also available from the Object menu, and from a number of other context sensitive menus detailed elsewhere in this guide. The script editor allows you to view and edit scripts associated with objects.
オブジェクトを選択しツールバーからScriptを選んで、各オブジェクトのスクリプト・エディタにアクセスできます。スクリプト・エディタはオブジェクト・メニューからもアクセスできます。このガイドの他のところで説明している、コンテキスト・メニューからもアクセスできます。スクリプト・エディタを使うとオブジェクトに添えられたスクリプトを確認し、編集することができます。
| Main script area | Display and edit
scripts in this area. For more details on how to
write a script, see the section on Writing
Transcript Code.
The Script Editor will colorize and format scripts automatically. When typing press tab to manually format the script. Press Enter (on the numeric keypad) to apply the script. Press Enter again to close the script editor. |
| メイン・スクリプト・エリア |
このエリアでスクリプトを表示、編集します。スクリプトの書き方に関する詳細は、Writing
Transcript Codeセクションをご覧下さい。 スクリプト・エディタは自動的にスクリプトに色付けし、フォーマットします。 タブ・キーを押すことで手動でスクリプトをフォーマットします。(数字キーパッド上で)エンター・キーを押すとスクリプトが適用されます。もう一度エンター・キーを押すとスクリプト・エディタが閉じます。 |
| Note: It is not necessary to close the Script Editor to run a script, all that is required is that the script is applied using the Apply button. | |
| 注釈: スクリプトを実行するにはスクリプト・エディタを閉じる必要はありません、必要なことはApplyボタンが押されてスクリプトが実行環境にあることだけで。 | |
| Breakpoints Area | Click next to a line of script to set or remove a breakPoint. A breakPoint specifies a point at which script execution should pause and the debugger be loaded. For more details, see the section on Debugging. |
| ブレークポイント・エリア | スクリプトの書かれた行の隣をクリップすると、ブレークポイントの設置、削除ができます。ブレークポイントは、スクリプトが停止しデバッガーが起動する地点を特定します。詳しくは、詳しくは、Debuggingセクションをご覧下さい。 |
| Autocomplete Area | This area will show possible options as you type a word. Type Control-number to insert a numbered suggestion at the insertion point. |
| オートコンプリート・エリア | 単語をタイプした時に、考えうる幾つかの選択肢を表示するエリアです。コマンド・キーを押しながら選択肢についている番号をタイプすると、その番号に対応した単語が挿入されます。 |
| Mode selector | Lets you switch between Autocomplete, Find and Replace, and Go to Line modes. |
| モード選択 | オートコンプリート、検索と置換、指定行へ移動のモードを切りかえます。 |
| Find and Replace Mode | The Find and Replace option allows you to search for text by entering a search term and pressing return, typing Control-G, or clicking on the Find button. The Replace field allows you to enter a term to replace the search term. Press the Replace button to make the replacement one term at a time, or Replace All to replace all instances of the search term with the replacement. |
| 検索と置換 | 検索と置換では、検索語を入力しリターンキーを押す、コントロール・キーを押しながらGキーを押す、Findボタンをクリックする、のいずれかの方法で簡単にテキストを検索ができます。置換フィールドでは、検索された語と置きかえる語を入力します。Replaceボタンを押すと、語毎に置換が行われます。Replace Allボタンでは、検索語に該当する全ての語を一挙に新しい語に置換します。 |
| Go to Line Mode | Moves the insertion point to a specified line number. If you enter two numbers X and Y separated by a comma, Go to Line goes to character Y of line X of the script. |
| 行への移動モード | 指定された行へ挿入点を移します。コンマで区切られたXとY二つの数字を入力すると、スクリプトのX行目にあるY文字目に移動します。 |
| Revert Button | Reverts the script to the last time it was applied. |
| 戻すボタン | スクリプトが適用された時点にスクリプトを戻します。 |
| Apply Button | Applies the script, compiling it instantly. Any syntax errors will cause a Script Error window to open and the script will not compile. An applied script is not saved until the stack that contains it is saved. |
| 適用ボタン | スクリプトを適用し、即座にそのスクリプトをコンパイルします。なにか文法誤りが見つかるとスクリプト・エラー・ウインドウが開かれ、スクリプトのコンパイルは中止されます。適用されたスクリプトは、そのスクリプトを含むスタックが保存されるまでスクリプトは保存されません。 |
| Important: Note that none of the message handlers within the script will be available if there is a Script Error as none of the script will have compiled. | |
| 重要: スクリプト内のメッセージ・ハンドラのいずれも、スクリプト・エラーがあれば適用されません。また、そうしたスクリプトは一切コンパイルされません。 | |