Why won't folder action fire?
Why won't folder action fire?
- Subject: Why won't folder action fire?
- From: email@hidden
- Date: Wed, 19 Feb 2003 22:38:58 -0800
I want to set up a folder action that does nothing but run a shell
script or a Perl script. (So I'm operating with minimal Applescript
knowledge.) I save the following as a compiled script, add it to the
folder using the script menu, but it won't fire.
on adding folder items to this_folder after receiving added_items
display dialog "About to print some files..." with icon note buttons
"OK"
do shell script "/users/jrussell/bin/print_all_files"
end adding folder items to
If I take the part inside the "on adding... end adding..." and make
that its own script, it runs fine from inside the script editor. The
sample "add items" folder action script works, that's where I saw the
"on adding..." code.
What else can go wrong with a folder action, that could cause it not to
work at all?
John
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.