Im Newbie to apple scripting.How should i set "Enable Folder Options" or "Disable Folder Options" using applescript?
I used the following code, but the folder action is not enabled to the specified folder:

tell application "System Events" to set enabled of folder action "some folder" to true

Where am i going wrong. Please help.

Thanks in Advance