You are not logged in.
You can attach a Folder Action to a folder in OS X by selecting the "Attach Folder Action" menu item from the "Folder Actions" sub-menu in the "Script Menu". Once you trigger this process, you will be prompted to select a folder action to apply, as well as a folder to apply it to.
You can also attach a Folder Action script to a folder using the following code:
tell application "System Events" to attach action to theDesiredFolderPath ├?┬Č