Folder Action Script Question
Folder Action Script Question
- Subject: Folder Action Script Question
- From: email@hidden
- Date: Thu, 1 Aug 2002 11:23:28 -0500
I am sure this is something simple I am missing. I am trying to set up a
watched folder and can't get anything to work. I am running OS 9.2.2 and AS
1.8.3. I have a simple script and am attaching it to a folder on the
desktop. I have the folder's window open. When I drop an item into the
folder, nothing happens. Please tell me what I am missing here. Thanks in
advance...
Here is the code for the entire script:
on adding folder items to theFolder after receiving theFiles
tell application "Finder"
repeat with aFile in theFiles
move aFile to the trash
end repeat
end tell
end adding folder items to
I even tried this and it does not work:
on adding folder items to theFolder after receiving theFiles
beep
end adding folder items to
I'm sure it's something stupid I'm missing...
Jim Scharosch
Mac System Administrator
Gazette Communications
319-368-8669
email@hidden
_______________________________________________
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.