Activate Folder action by AppleScript

Hi.
Is it possibile to ACTIVATE folder action with an AppleScript command?
And, how can take a snapshot of the Mac (if the folder action is setting in ON of OFF)?

Tnx

Is it possibile to ACTIVATE folder action with an AppleScript command?


tell application "System Events"
	set folder actions enabled to true
end tell

And, how can take a snapshot of the Mac (if the folder action is setting in ON of OFF)?

tell application "System Events"
	get folder actions enabled
end tell