AppleScript
On adding folder items to this_folder after receiving added_items
try
set filename to name of this_folder
set p to POSIX path of this_folder
do shell script "path to script/.sh" &p &filename
end try
end adding folder items to
El script de Shell nunca obtiene los argumentos. He probado varios tableros y varias variaciones del código anterior, pero no me alegro. ¿Qué he pasado por alto?