маразм с folder actions

| | Comments (0)

property dst_path : "stuff:Torrents"
property extension_list : {"torrent"}

on adding folder items to thisFolder after receiving addedItems
tell application "Finder"
if (exists folder dst_path) then
repeat with i from 1 to number of items in addedItems
set anItem to item i of addedItems
set the item_info to the info for anItem

if the name extension of the item_info is in the extension_list then
try
move file anItem to folder dst_path
end try
end if
end repeat
end if
end tell
end adding folder items to

почему-то файл не мувится, а копируется. интересно, как эту загадку обьяснить? файндер не умеет мувать на сетевую шару?

Leave a comment

Random Photos

About this Entry

This page contains a single entry by Andrew Dolgov published on April 28, 2008 6:54 PM.

бедные шрифты was the previous entry in this blog.

климатологическое is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.