I thought folder actions would be a useful way to get more flexibility in naming captured items and in sending them to apppropriate EF libraries. My first attempt just wants to send a file saved to a action folder to the front library in EF, but it is not working. Any suggestions?
on adding folder items to this_folder after receiving these_items
tell application "Finder"
set this_file to item 1 of these_items
end tell
tell application "EagleFiler"
tell library document 1
import files {this_file}
end tell
end tell
end adding folder items to
on adding folder items to this_folder after receiving added_items
tell application "Finder"
repeat with a_file in added_items
tell application "EagleFiler"
tell library document 1
import files {a_file}
end tell
end tell
end repeat
end tell
end adding folder items to