我试图编写一个applescript,它将运行放在我的网络上的特定文件夹上的任何shell脚本。获取文件夹操作以运行shell脚本
我一直在试图用:
on adding folder items to target_folder after receiving this_script
tell application "Terminal" to open this_script
end adding folder items to
但我没有任何运气。
关于什么可能是错误的任何想法?
确保shell脚本的名称扩展名为.command。否则他们不会打开。 – fireshadow52 2011-08-05 17:42:26