If you haven't tuned in so far: I am trying to make a smart folder that uploads files to and creates directories at /var/www/media/ on my server whenever a file or directory is saved to the smart folder. I am using an applescript as a folder action to run a shell script. The shell script has been briefly tested, and appears to work flawlessly. Here is my applescript: Code: -- https://discussions.apple.com/thread/1485146?start=0&tstart=0 -- https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/osascript.1.html -- http://forums.macrumors.com/showthread.php?t=1089834 on adding folder items to this_folder after receiving added_items set FolderPath to POSIX path of added_items set the_name to the name of added_items set isfile to kind of added_items tell application "System Events" try if isfile = "file" then do shell script "HD:users:Jason Dancks:Desktop:place_on_server:uploadSOrev" & "F" & FolderPath & the_name else do shell script "HD:users:Jason Dancks:Desktop:place_on_server:uploadSOrev" & "DIR" & FolderPath set FolderPath to path to added_items --from POSIX to mac path attach action to (alias FolderPath) using "HD:users:Jason Dancks:Desktop:place_on_server:alertscriptrev.scpt" end if end try display dialog FolderPath end tell end adding folder items to the finder window does this delayed blink, like its trying to execute the script. It appears to fail silently the display dialog part doesn't even run. Why? How would I even debug this?