ドロップされたファイルを処理

| コメント(0) | トラックバック(0)
on adding folder items to this_folder after receiving added_items
	try
		tell application "Finder"
			--↓フォルダアクションの設定されているフォルダ
			set the folder_name to the name of this_folder
		end tell
		--set the item_count to the number of items in the added_items
		--↓フォルダにドロップされたファイル
		repeat with myFile in added_items
			tell application "Finder"
				set the file_name to the name of myFile
			end tell
			display dialog folder_name & "内の" & file_name
		end repeat
	end try
end adding folder items to

トラックバック(0)

トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/19

コメントする

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 4.22-ja
印刷通販の価格比較 印刷会社、大阪の遊文舎 議案書、 規約、予算書等の冊子の印刷、製本サービスの専門サイト 報告書・論文集等の印刷製本など小冊子のモノクロ印刷専門サイト
冊子 印刷 製本 スピード印刷すぐスール.com