- 799 名前:名称未設定 mailto:sage [2009/07/30(木) 10:57:51 ID:zCgjq0OMO]
- AppleScript Script File (*.scpt) と AppleScript Text File (*.applescript) のどちらも、
/Contents/Resources/Scripts/*.scpt としてパッケージされているので、 run script やら load script で直接指定してやれば好きなように扱えるよ 仮に AppleScript Application を theApp という名前で作ってルートに置き、 theHandler というハンドラを呼ぶ場合はこんな感じ set theScript to load script ("/theApp.app/Contents/Resources/Scripts/theApp.scpt" as POSIX file) theHandler() of theScript
|

|