I’m new at scripting, trying out simple things first, and can’t seem to make Folder Actions work at all. This simple script doesn’t work.
on opening folder this_folder
tell application “Finder”
display dialog “Test”
end tell
end opening folder
Even though I have Folder Actions Enabled and the script attached to the folder as a folder action, nothing happens. The simple script without the Folder handler works fine of course. Yes, I did try opening the folder and nothing happens, the dialogue isn’t displayed. I’ve tried similar Folder Actions with similar negative results.
Any ideas? Do Folder Action scripts have to be located in the Folder Scripts folder? These are not, and that’s the only clue I have…will try to move them into that folder tomorrow and see what happens…I’m sooo confused after messing with this all afternoon.
SteveB
Model: G5 dual 2 Ghz
AppleScript: 1.10.7
Browser: Safari 419.3
Operating System: Mac OS X (10.4)