Finderの最近のブログ記事

tell application "Finder"
	set OriginalDelimiters to AppleScript's text item delimiters
	--現在のdelimiters設定を保存しておく。
	set AppleScript's text item delimiters to {tab}
	set PROSESS_LIST to (name of every application process)
	set TexData to PROSESS_LIST as string
	--すべての起動しているアプリケーションのリストをPROSESS_LISTへ
	set AppleScript's text item delimiters to OriginalDelimiters
	--必ずdelimiters設定を戻しておく。
	--display dialog TexData
end tell

ファイルのコピー

| コメント(0) | トラックバック(0)
set downFolder to choose folder with prompt "収集するフォルダを選択してください。"
tell application "Finder"
	duplicate alias "Macintosh HD:gazou:PAK2:001111" to downFolder with replacing
end tell

 with replacingで上書きコピー
 with replacingをつけないと上書きコピーされない
同じ名前のファイルがあるとエラーでストップ
Applications
=>AppleScript
=>Install Script Menu
をダブルクリックする。

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 7.902.0
漢字イラストロジック-脳トレ京
FREE ONLINE SUDOKU