
Originally Posted by
kangaroo
As indicated, the script you provided worked properly in LaunchBar but, unfortunately, it didn't seem to work as a Folder Action script. Any ideas?
To use it as a folder action in the Finder you would need something like:
Code:
on open _files
my importFiles(_files)
end open
on adding folder items to _folder after receiving _files
my importFiles(_files)
end adding folder items to
on importFiles(_files)
tell application "EagleFiler"
tell library document 1
import files _files tag names {"foo", "bar"}
end tell
end tell
end importFiles