2012-06-18T19:57:22+09:00 AppleScript のスクリプトオブジェクトの継承と my による property の参照 AppleScript のスクリプトオブジェクトの property のスコープについて、少々講釈をたれるぜ。そして、スクリプトオブジェクトを継承した場合の property へのアクセスについての注意事項を少々。 スクリプトオブジェクトを使いこなして AppleScript でオブジェクト指向している人の生息さえ不確かなんだけど、いつの日か誰かのお役に立つことを願って。 まずは、次のスクリプトを見てください。トップレベルで property msg を宣言しています。そして、スクリプトオブジェクト ProperyAccess の中から、トップレベルの property msg を参照している。