- 投稿日 : 2006-09-27
- 更新日 : 2006-09-27
- AppleScript
Finder で選択している項目の種類を取得する AppleScript のサンプルです。
tell application "Finder"
repeat with ThisFile in (selection as list)
set ThisFileInfo to info for ThisFile as alias
log (kind of ThisFileInfo)
end repeat
end tell
動作確認:Mac OS 10.4.7
Comments:0
Trackbacks:0
- Trackback URL for this entry
- http://bowz.info/1243/trackback
- Listed below are links to weblogs that reference
- [ AppleScript ] 選択項目の種類を取得するサンプル from Bowz::Notebook