[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 2chのread.cgiへ]
Update time : 12/30 13:21 / Filesize : 344 KB / Number-of Response : 942
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

AppleScript アップルスクリプト 質問、発表 3



489 名前:SideTrash mailto:sage [2009/02/24(火) 22:04:01 ID:39UR9TzU0]
(続き)
----------------------------------------------
on open of fileList
tell application "Finder"
set volumeKind to kind of the startup disk
repeat with oneFile in fileList
if (kind of oneFile) as string is equal to volumeKind then
eject oneFile
else
move oneFile to trash
end if
end repeat
end tell
end open

on run
tell application "Finder"
activate
try
--- go to trash
set target of Finder window 1 to trash
on error error_message
--- new window with trash
open trash
end try
end tell
end run
----------------------------------------------
--- Written by Paolo Portaluri






[ 続きを読む ] / [ 携帯版 ]

全部読む 前100 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧](;´∀`)<344KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef