CHAPTER 1 INTRODUCTION
第1章 はじめに
1.1
Welcome
ようこそ
1.2
Where to Begin
どこから始めるか
1.3
System Requirements
必要なシステム
1.3.1 All Operating Systems
全てのOS
1.3.2 Requirements for Windows
Systems
ウィンドウズ・システムに必要なもの
1.3.3
Requirements for Linux
Systems
リナックス・システムに必要なもの
1.3.4
Requirements for Mac OS Classic
Systems
マックOSクラッシク・システムに必要なもの
1.3.5
Requirements for OS X
Systems
マックOSXに必要なもの
1.4
Installation
Instructions
インストール手順
1.5
Registration and
Updates
登録と更新
1.6
Using the Documentation
ドキュメンテーションの使い方
1.6.1
Documentation
Conventions
ドキュメンテーションの注意事項
1.6.2
Navigating the
Documentation
ドキュメンテーションの読み方
1.6.3
Getting Started
さあ始めよう
1.6.4
User's Guide
ユーザーズ・ガイド
1.6.5
Dictionary
辞書
1.6.6
Glossary
用語集
1.6.7
Index
目次
1.6.8
Searching the
Documentation
ドキュメンテーションの検索
1.7
Additional Resources
その他の情報源
1.7.1
Developer Community
開発者の集まり
1.7.2
Technical Support
技術的サポート
CHAPTER 2 GETTING STARTED
第2章 さあ始めよう
2.1.1
Prerequisites
まず必要なこと
2.1.2
Event Driven
Programming
イヴェント駆動型プログラミング
2.1.3
Object-Based
Programming
オブジェクト・ベースのプログラミング
2.1.4
The ‘Edit’ and ‘Run’
Mode
「編集(エディット)」モードと「実行(ラン)」モード
2.2
Structuring your
Application
アプリケーションの構成部品
2.2.1
Cards, Stacks &
Files
カード、スタックそしてファイル
2.2.2
The Structure of a Stack
File
スタック・ファイルの構成要素
2.2.3
Opening a Stack File
スタック・ファイルを開く
2.2.4
Main Stacks and
Substacks
メイン・スタックとサブスタック
2.2.5
Stacks, Stack Files, and
Memory
スタック、スタックファイル、それとメモリー
2.2.6
Media & Resources
メディアとリソース
2.2.7
How to Use External
Files
外部ファイルの取り扱い
2.2.8
When to use a Database
データベースをどこで使うか
CHAPTER 3 THE DEVELOPMENT
ENVIRONMENT
第3章 開発環境
3.1
The Menu Bar
メニュー・バー
3.1.1
The File Menu
ファイル・メニュー
3.1.2
The Edit Menu
エディット・メニュー
3.1.3
The Tools Menu
ツール・メニュー
3.1.4
The Object Menu
オブジェクト・メニュー
3.1.5 The Text Menu
テキスト・メニュー
3.1.6
The Development Menu
開発メニュー
3.1.7
The View Menu
ビュー・メニュー
3.1.8
Window
ウインドウ
3.1.9
The Help Menu
ヘルプ・メニュー
3.2
The Application Browser
アプリケーション・ブラウザー
3.3
The Properties
Inspector
プロパティ・インスペクター
3.4
The Script Editor
スクリプト・エディター
3.5
The Script Editor
Menubar
スクリプト・エディターのメニューバー
3.5.1
The File Menu
ファイル・メニュー
3.5.2
The Edit Menu
エディット・メニュー
3.5.3
The Text Menu
テキスト・メニュー
3.5.4
The Script Menu
スクリプト・メニュー
3.5.5
The View Menu
ビュー・メニュー
3.5.6
The Handler Menu
ハンドラ・メニュー
3.5.7
The Debug Menu
デバグ・メニュー
3.5.8
The Bookmarks Menu
ブックマーク・メニュー
3.5.9
The Window Menu
ウインドウ・メニュー
3.6
The Message Box
メッセージ・ボックス
3.6.1
Single and Multiple Line
Modes
一行モードと複数行モード
3.6.2
Global Properties
グローバル・プロパティ
3.6.3
Global Variables
グローバル変数
3.6.4
Pending Messages
メッセージの実行中断
3.6.5
Front Scripts & Back
Scripts
前のスクリプトと後ろのスクリプト
3.6.6
Stacks In Use
使用中のスタック
3.7
The Toolbar
ツールバー
3.8
Find and Replace
検索と置換
CHAPTER 4 BUILDING A USER
INTERFACE
第4章 ユーザー・インターフェースの作成
4.1
Creating and Organizing
Objects
オブジェクトの作成と体系化
4.1.1
Creating Controls with the Tools
Palette
ツール・パレットによるコントロールの作成
4.1.2
Alignment &
Layering
配置とレイヤー(階層)
4.1.3
The Keyboard Focus
キーボードによるフォーカス
4.2
Object & Control
Types
オブジェクトとコントロールのタイプ(形式)
4.2.1
Stacks - for displaying windows, palettes and
dialog boxes
ウインドウ、パレット、ダイアログ・ボックスを表示用のスタック
4.2.2
Window Types and the Mode of a
Stack
ウインドウの形式とスタックのモード
4.2.3
The Standard Window
Types
標準的なウインドウのタイプ
4.2.4
Editable Windows - for
documents
編集可能なウインドウ(ドキュメント用)
4.2.5
Modeless Dialog Boxes - for alerts and
settings
モードレス・ダイアログ・ボックス(警告や設定用)
4.2.6
Modal Dialog Boxes - for alerts and
settings
モーダル・ダイアログ・ボックス(警告や設定用)
4.2.7
Palettes - for accessory and tool
windows
パレット(アクセサリーとツール・ウインドウ用)
4.2.8
Ask Question Dialog - for asking a
question
アスク・クエスチョン・ダイアログ(質問用)
4.2.9
Answer Alert Dialog - for displaying a
dialog
アンサー・アラート・ダイアログ(ダイアログ表示用)
4.2.10
File Selector Dialogs
ファイル選択ダイアログ
4.2.11
Color Chooser Dialog
色選択ダイアログ
4.2.12
Printer Dialogs
プリンター・ダイアログ
4.2.13
Visual Effect Dialog
ヴィジュアル・エフェクト(視覚効果)ダイアログ
4.2.14
Alpha Blend Windows - for Enhanced Tooltips
and Multimedia
アルファ・ブレンドウインドウ(機能強化したツールチップやマルチメディア用)
4.2.15
System Palettes - for utilities floating
above applications
システム・パレット(アプリケーション上にふろーとするユーティリティ用)
4.2.16
Sheet dialog boxes - Mac OS X
only
シート・ダイアログ・ボックス(マックOSXのみ)
4.2.17
Drawers - Mac OS X only
ドロワーズ(マックOSXのみ)
4.2.18
Stack menus - for displaying non-standard
menus
スタック・メニュー(非標準的なメニューの表示用)
4.2.19
Stack Decorations - for Window
Appearance
スタックの装飾(ウインドウの外観)
4.2.20
Button Controls - for performing
actions
ボタン・コントロール(アクションの実行)
4.2.21
Text Field Controls - for displaying or
entering text
テキスト・フィールド・コントロール(テキストの表示や入力用)
4.2.22
More Field Controls - for displaying
lists
その他のフィールド・コントロール(リストの表示)
4.2.23
Table Field Control - for displaying a
table
テーブル・フィールド・コントロール(テーブルの表示)
4.2.24
Cards
カード
4.2.25
Groups & Backgrounds - for organizing,
and sharing controls
グループとバックグラウンド(コントロールの操作と共用)
4.2.26
Graphics, Images, Players, Audio & Video
Clip Objects - for multimedia
グラフィック、イメージ、プレーヤー、オーディオ&ヴィデオ・クリップ等のオブジェクト(マルティメディア用)
4.2.27
Menu Controls - for displaying
choices
メニュー・コントロール(選択の表示用)
4.2.28
Other Controls
その他のコントロール
4.3
Using the Menu Builder
メニュー・ビルダーを使う
4.4
Using the Geometry
Manager
ジオメトリ・マネジャを使う
4.5
Using Property Profiles
プロパティ・プロファイルを使う
CHAPTER 5 WRITING TRANSCRIPT CODE
第5章 トランスクリプト・コードを書く
5.1
The Structure of a
Script
スクリプトの構造
5.1.1
What is a Script
スクリプトとは
5.1.2
The Types of Handler
ハンドラの形式
5.1.3
Message Handlers
メッセージ・ハンドラ
5.1.4
Function Handlers
ファンクション・ハンドラ
5.1.5
GetProp Handlers
GetProハンドラ
5.1.6
SetProp Handlers
Setpropハンドラ
5.1.7
Comments
コメント
5.1.8
Compiling a Script
スクリプトのコンパイル
5.1.9
Summary
要約
5.2
Events
イヴェント
5.2.1
What Causes Messages to be
Sent
メッセージが送られるのは
5.2.2
Responding to Events
イヴェントへの応答
5.3
The Message Path
メッセージのパス(通り道)
5.3.1
The Object Hierarchy
オブジェクトの階層
5.3.2
The Message Path
メッセージのパス
5.3.3
The Message Target
メッセージのターゲット
5.3.4
Handlers with the Same
Name
同一名のハンドラ
5.3.5
Trapping Messages
メッセージのトラップ
5.3.6
Blocking System
Messages
システム・メッセージのブロック
5.3.7
Passing a Message to the Next
Object
次のオブジェクトへメッセージをパスする
5.3.8
Selectively Trapping or Passing
Messages
メッセージを選んでのトラップやパス
5.3.9
Groups, Backgrounds & The Message
Path
グループ、バックグラウンドとメッセージのパス
5.4
Commands and Functions
コマンドとファンクション(関数)
5.4.1
Using Built-in Commands and
functions
組み込みコマンドと組み込みファンクションを使う
5.4.2
Custom Commands and
Functions
カスタム・コマンドとカスタム・ファンクション
5.4.3
Passing Parameters
パラメータのパス(引き渡し)
5.4.4
Passing Multiple
Parameters
複数のパラメータのパス(引き渡し)
5.4.5
Parameter Variables
パラメータ変数
5.4.6
Implicit Parameters
明示されないパラメータ
5.4.7
Passing Parameters by
Reference
参照によるパラメータのパス(引き渡し)
5.4.8
Returning Values
値を返す
5.4.9
Returning a Value from a Function
Handler
ファンクション・ハンドラから返される値
5.4.10
Returning an Error from a Message
Handler
メッセージ・ハンドラからのエラー
5.4.11
Summary
要約
5.5
Variables
変数
5.5.1
Variable Scope
変数の範囲
5.5.2
Local Variables
ローカル変数
5.5.3
Script Local Variables
スクリプト・ローカル変数
5.5.4
Global Variables
グローバル変数
5.5.5
Variable Names
変数名
5.5.6
Special Variable Types
特別な変数の形式
5.5.7
Array Variables
アレー変数
5.5.8
Constants
定数
5.6
Containers, Operators & Sources of
Value
コンテナ、オペレータ更に値の源
5.6.1
What is a Container ?
コンテナとは?
5.6.2
Setting and Retrieving Data from
Containers
コンテナからのデータの設定と回収
5.6.3
What are Sources of Value
?
値の源はなにか?
5.6.4
Getting and Setting
Properties
プロパティの取得と設定
5.6.5
What are Literal Strings
?
リテラル・ストリング(リテラル文字列)とは何か?
5.6.6
Using Literal Strings
リテラル・ストリング(リテラル文字列)を使う
5.6.7
What are Operators ?
演算子とは何か?
5.6.8
Numeric Operators
数値演算子
5.6.9
Logical Operators
論理演算子
5.6.10
Binary versus Unary
Operators
双数演算子と単数演算子
5.6.11
Conversion of Values
値の転換
5.6.12
Operator Precedence
演算子の優先順位
5.6.13
Using the Grouping Operator
()
まとめ役の演算子()を使う
5.6.14
Factors and Expressions
因数と表現式
5.6.15
Defining Factors
因数の定義
5.7
Making Decisions
条件分岐
5.7.1
If…then…else
もし……ならば;それ以外では……
5.7.2
Switch
切り替え
5.8
Extending the Message
Path
メッセージ・パスの拡張
5.8.1
Creating a Code Library
コード・ライブラリを作る
5.8.2
Using backScripts
バックスクリプトを使う
5.8.3
Using frontScripts
フロントスクリプトを使う
5.8.4
Using a Stack's Script with start
using
「start
using」でスタックのスクリプトを使う
5.8.5
Sending Messages Directly to
Objects
オブジェクトに直接メッセージを送る
5.8.6
The send Command versus the call
Command
sendコマンド対callコマンド
5.9
Timer Based Messaging
時限メッセージ
5.9.1
Delivering a Message in the
Future
未来にメッセージを送る
5.9.2
Repeating a Timer
Message
時限メッセージの反復
5.9.3
Canceling a Timer
Message
時限メッセージを中止する
5.9.4
Displaying a List of Pending Timer
Messages
保留中の時限メッセージの一覧表示
CHAPTER 6 PROCESSING TEXT AND
DATA
第6章 文字とデータの処理
6.1
Using Chunk Expressions
チェンク表現を使う
6.1.1
Types of Chunks
チャンクのタイプ
6.1.2
Using Chunks with
Containers
コンテナでチャンクを使う
6.1.3
Using Chunks with
Properties
プロパティでチャンクを使う
6.1.4
The Character Chunk
文字チャンク
6.1.5
The Word Chunk
単語チャンク
6.1.6
The item Chunk and the itemDelimiter
Property
アイテム・チャンクとアイテム区切り(itemDelimiter)プロパティ
6.1.7
The line Chunk and the lineDelimiter
Property
行チャンクと行区切り(lineDelimiter)プロパティ
6.1.8
The Token Chunk
トークン・チャンク
6.1.9
Specifying a Chunk
チャンクを指定する
6.1.10
Negative Indexes in Chunk
Expressions
チャンク表現式内でインデックスをたどる
6.1.11
Complex Chunk
Expressions
複雑なチャンク表現
6.1.12
Using Parentheses in Chunk
Expressions
チャンク表現式内で丸括弧を使う
6.1.13
Nonexistent Chunks
存在しないチャンク
6.1.14
Specifying a Range
範囲の指定
6.1.15
Counting the Number of Words, Lines or
Items
単語、行、アイテムが幾つあるかを数える
6.2
Comparing and Searching
比較と検索
6.2.1
Checking if a Part is within a
Whole
ある範囲に探したい部分があるかを調べる
6.2.2
Case Sensitivity
大文字小文字の区分
6.2.3
Checking if text is True, False, a Number, an
Integer, a Point, a Rectangle, a Date or a
Color
テキストが真か偽か、数値か、整数か、ある一点か、四角形化、日付か色かを調べる
6.2.4
Check if a Word, Item or Line Matches
Exactly
あるワード、あるアイテム、ある行が完全に一致するかを調べる
6.2.5
Replacing Text
文字を置き換える
6.2.6
Retrieving the Position of a Matching
Chunk
一致したチャンクの位置を検索する
6.3
Regular Expressions
正規表現式
6.3.1
Searching using a Regular
Expression
正規表現式を使った検索
6.3.2
Replacing using a Regular
Expression
正規表現式を使った置換
Regular Expression
Syntax
正規表現シンタックス一覧
6.3.3 Filtering using a Wildcard
Expression
ワイルドカード表現式を使った抽出
6.4
Unicode
ユニコード
6.5
Using Arrays
アレイを使う
6.5.1
Encoding and Decoding
エンコード(バイナリへの変換)とデコード(バイナリからの復号)
6.6
XML & XML RPC
XML(拡張可能型マークアップ言語)とXML
RPC(XMLによる遠隔手順呼び出し)
6.7
Sorting Data
データの並べ替え
CHAPTER 7 PROGRAMMING A USER
INTERFACE
第7章 ユーザー・インターフェースのプログラミング
7.1
Referring to Objects
オブジェクトの参照
7.1.1
Referring to objects by
name
名前によるオブジェクトの参照
7.1.2
Referring to objects by
number
番号によるオブジェクトの参照
7.1.3
Referring to
objects by ID
IDによるオブジェクトの参照
7.1.4
Referring
to objects by ordinal
順序によるオブジェクトの参照
7.1.5
The special
descriptor this
特別な記述子this
7.1.6
Control
references
コントロールを参照する
7.1.7
Nested Object
References
入れ子状のオブジェクトの参照
7.2
Properties
プロパティ
7.2.1
Using Object
Properties
オブジェクトのプロパティを使う
7.2.2
Referring to
properties
プロパティを参照する
7.2.3
Changing
properties
プロパティを変更する
7.2.4
Property
Inheritance
プロパティの継承
7.2.5
Overriding
inheritance
継承の無視(継承に優先されるもの)
7.3
Global
Properties
グローバル・プロパティ
7.3.1
Referring
to global properties
グローバル・プロパティを参照する
7.3.2
Changing
global properties
グローバル・プロパティを変更する
7.3.3
Saving
and restoring global properties
グローバル・プロパティの保存と復元
7.4
Text Related
Properties
文字に関連したプロパティ
7.4.1
Text style
properties
文字のスタイルのプロパティ
7.4.2
Formatted text
properties
書式設定された文字のプロパティ
7.5
Creating and Deleting Objects
オブジェクトの作成と削除
7.5.1
The Create Object Command
オブジェクトを作る(Create
Object)コマンド
7.5.2
The Delete Object Command
オブジェクトを削除する(Delete
Object)コマンド
7.5.3
Creating Objects Off-screen Using Template Objects
雛型オブジェクトを使ったオフ・スクリーンでのオブジェクト作成
7.6
Property Arrays using the Properties Property
Propertiesプロパティを使ったプロパティのアレイ
7.7
Property Profiles
プロパティのプロファイル
7.7.1
Profile names
プロファイルの名前
7.7.2
The master profile
マスター・プロファイル
7.7.3
Switching between profiles
プロファイルを切り替える
7.7.4
Creating a profile in a handler
ハンドラ内でプロファイルを作成する
7.7.5
Adding profile settings in a handler
ハンドラ内でプロファイルの設定を加える
7.8
Custom Properties
カスタム・プロパティ
7.8.1
Using Custom Properties
カスタム・プロパティを使う
7.8.2
Creating a Custom Property
カスタム・プロパティを作る
7.8.3
The Content of a Custom Property
カスタム・プロパティの中味
7.8.4
Custom Property Names
カスタム・プロパティの名前
7.8.5
Referring to Custom Properties
カスタム・プロパティを参照する
7.8.6
Nonexistent Custom Properties
存在しないカスタム・プロパティ
7.8.7
Finding out Whether a Custom Property Exists
カスタム・プロパティが存在するかどうかを調べる
7.8.8
Custom Properties & Converting Text Between Platforms
異なるプラットフォーム間でのカスタム・プロパティと文字の変換
7.8.9
Storing a file in a custom property
カスタム・プロパティにファイルを保存する
7.8.10
Deleting a custom property
カスタム・プロパティを削除する
7.9
Custom Property Sets
カスタム・プロパティのセット
7.9.1
Creating custom property sets
カスタム・プロパティのセットを作る
7.9.2
Custom property set names
カスタム・プロパティ・セットの名前
7.9.3
Referring to custom property sets
カスタム・プロパティ・セットを参照する
7.9.4
Finding out whether a custom property set exists
カスタム・プロパティ・セットが存在するかどうかを調べる
7.9.5
The default custom property set
初期設定としてのカスタム・プロパティ・セット
7.9.6
Using multiple custom property sets
複数のカスタム・プロパティ・セットを使う
7.9.7
Copying custom properties between property sets
プロパティ・セット間でカスタム・プロパティをコピーする
7.9.8
Arrays, custom properties, and custom property sets
アレイ、カスタム・プロパティ、カスタム・プロパティ・セット
7.9.9
Deleting a custom property set
カスタム・プロパティ・セットを削除する
7.10
Attaching Handlers to Custom Properties
カスタム・プロパティにハンドラを加える
7.10.1
Responding to changing a custom property
カスタム・プロパティの変更への対応
7.10.2
The structure of a setProp handler
setPropハンドラの構造
7.10.3
Responding to a request for the value of a custom property
カスタム・プロパティの値を要求された時の対処法
7.11
Virtual Properties
仮想プロパティ
7.11.1
When to use virtual properties
どんな時に仮想プロパティを使うのか
7.11.2
Handlers for a virtual property
仮想プロパティ用のハンドラ
7.11.3
Creating new object properties
オブジェクトのプロパティの新規作成
7.12
Managing Windows, Palettes and Dialogs
ウインドウ、パレット、ダイアログの扱い方
7.12.1
Moving a window
ウインドウの移動
7.12.2
Changing a window's layer
ウインドウの階層を変更する
7.12.3
The active window
アクティブなウインドウ
7.12.4
Creating a backdrop
バックドロップを作る
7.12.5
Open, Closed, and Hidden Windows
ウインドウを開く、閉じる、隠す
7.12.6
The states of a stack
スタックの状態
7.12.7
Window Types and the Mode Property
ウインドウの形式とModeプロパティ
7.12.8
Window Appearance
ウインドウの外観
7.12.9
The Decorations Property
Decorationsプロパティ
7.12.10
Making a stack resizable
拡大縮小可能なスタックの作成
7.12.11
Irregularly Shaped and Translucent Windows
複雑な形や透明なウインドウ
7.13
Programming Menus & Menu Bars
メニューとメニュー・バーのプログラミング
7.13.1
Menu Types
メニューの形式
7.13.2
Button Menus
ボタン・メニュー
7.13.3
Creating Cascading Menus
カスケーディング・メニューの作成
7.13.4
Ticks, Dashes & Checks in Menus
メニュー内でのTicks、Dashes、Checks
7.13.5
Menu Bars on Unix and Windows Systems
ユニックスとウインドウ・システムにおけるメニュー・バー
7.13.6
Menu Bars on Mac OS and OS X Systems
マックOSとOS
Xシステムにおけるメニュ・バー
7.13.7
Stack Menus
スタック・メニュー
7.13.8
Displaying Context Sensitive Menus
文脈を反映したメニューの表示
7.14
Searching and Navigating Cards using the Find Command
Findコマンドを使ったカードの検索と巡回
7.15
Using Drag and Drop
ドラッグ・アンド・ドロップを使う
7.15.1
Initiating a Drag Drop
ドラッグ・アンド・ドロップを始める
7.15.2
Tracking During a Drag Drop Operation
ドラッグ・アンド・ドロップ操作の追跡
7.15.3
Responding to a Drag and Drop
ドラッグ・アンド・ドロップへの対処法
7.15.4
Prevent Dragging and Dropping to a Field
フィールドへのドラッグ・アンド・ドロップを回避する
CHAPTER 8 WORKING WITH DATABASES
第8章 データベースとの連動
8.1
Introduction to Database Access
データベースへのアクセスに関して
8.1.1
SQL Databases
SQLデータベース
8.1.2
Why use an External Database?
何故外部のデータベースを使うのか
8.1.3
The Basics of Database Structure
データベース構造の基礎
8.1.4
SQL and Record Sets - Database Cursors
SQLとレコード・セット(データベース・カーソル)
8.1.5
Choosing a Database
データベースを選択する
8.2
Differences Between Editions of Revolution
レヴォルーションのヴァージョンによる差異
8.3
Reasons to Choose a Database Type
データベースの形式を選ばなければならない理由
8.3.1
Overview of ODBC
ODBC概要
8.3.2
Performance for Direct Access Versus ODBC Access
直接アクセスとODBCアクセスでのパフォーマンスの違い
8.4
Software for Database Access
データベース・アクセス用のソフトウエア
8.4.1
Finding Database Drivers
データベース・ドライバを見つける
8.4.2
MySQL
MySQL(マイ・エス・キュー・エル)
8.4.3
Oracle
Oracle(オラクル)
8.4.4
PostgreSQL
PostgreSQL(ポストグレ・エス・キュー・エル)
8.4.5
Valentina Databases and the Valentina engine
ヴァレンチナ・データベースとヴァレンチナ・エンジン
8.4.6
ODBC managers and database drivers
ODBCマネジャとデータベース・ドライバ
8.5
The Database Query Builder
データベース問い合わせビルダ
8.5.1
How the Database Query Builder works
データベース問い合わせビルダはどのように動作するか
8.5.2
Using the Database Query Builder
データベース問い合わせビルダを使う
8.5.3
Displaying Data from an Automatic Query
自動問い合わせによるデータの表示
8.5.4
Linking Other Object Types to a Query
問い合わせと他のオブジェクトとのリンク
8.5.5
Multiple Queries
複数の問い合わせ
8.6
Using the Database Library
データベース・ライブラリを使う
8.6.1
Working with the Database library
データベース・ライブラリの使い方
8.6.2
Database library commands and functions
データベース・ライブラリのコマンドとファンクション
8.7
Integrating the Database library with the Database Query
Builder
データベース・ライブラリとデータベース問い合わせビルダを統合する
