AppleScript 1-2-3 [Paperback]
米国Amazonで評価が高かったので買ってみたものの、ワンツースリーとは言っても、全部で900ページ弱、厚さ3cmもあるテキストブック。全部に目を通すには、よほどの時間をとらないと。*1
著者は Sal Soghoian and BillCheeseman、有名なAppleScripterだということで、YouTubeにも出てますね。エバンジェリスト。
本の中身を少しずつ見ていこうと思います。
前半 p.3 から p.397 は Instant AppleScript でLesson 1〜12まで。
後半 p.419 から p.839 は Essential Topics で、Lesson 13〜30まで。
Instant AppleScript
- Lesson 1 The First Step
- Lesson 2 Dictionaries
- Lesson 3 Identifying Objects
- Lesson 4 Finding Objects
- Lesson 5 Special Folders
- Lesson 6 Information Tools
- Lesson 7 Actions with Items
- Lesson 8 Data Containers, Operators, and Coercions
- Lesson 9 Communicationg with the User
- Lesson 10 Conditionals
- Lesson 11 The Repeat Loop
- Lesson 12 Error Handlers
Essential Topics
- Lesson 13 Script Editor
- Lesson 14 AppleScript Utility
- Lesson 15 Script Properties
- Lesson 16 Subroutines
- Lesson 17 Working with Text
- Lesson 18 Working with Lists and Records
- Lesson 19 Action Clauses
- Lesson 20 Droplets
- Lesson 21 Folder Actions
- Lesson 22 Image Events
- Lesson 23 Database Events
- Lesson 24 Adding Timing Controls to Scripts
- Lesson 25 Unit Coercions
- Lesson 26 The date Object
- Lesson 27 Connecting to Network Servers
- Lesson 28 GUI Scripting
- Lesson 29 Scripting the Shell
- Lesson 30 Advanced Topics
(同書Contents at a Glanceから引用)
前半は基本的な文法なんで飛ばしてっても大丈夫かな。後半は、基礎的ではあるけれどAppleScript ならではの独特の部分の解説。Dropletsとか、GUI Scripting、Scripting the Shell とか、ああ、そう言えば、昔、AppleScriptを始めた頃、このあたりで躓いた(つまづいた)よなぁ、といったポイントが盛りだくさんのよう。
今朝、義理の母親を駅で見送りした直後から風雪が強くなりどこにも行けず。ソチオリンピック開会式を見ていたら、5つめの輪が作動しなかったんじゃないの?アナウンサーは沈黙。
[今日見たサイト]
- http://melborne.github.io/
- Sal Soghoian - Wikipedia, the free encyclopedia
- AppleScript Seminar | Sal Soghoian - YouTube
*1:
1-2-3は、初級者にとっては 1 month - 2 month - 3 month の意味かあるいは、1 year - 2 year - 3 year という意味でしょう。上級者はきっと3ページくらい見て積んでおく本でしょう。