Trying to wake my Mac using Apple / Power Manager Script triggered by Folder Actions I've been trying to tweak the following script to achieve this. (original script)

tell application "Power Manager Scripting"

tell workshop

    set myEvent to make new event with properties {id:"myWakeEvent", name:"Wake up for work"}

    -- Create a daily trigger
    make new trigger daily at front of triggers of myEvent with properties {seconds from midnight:(8 * 60 * 60),availability:wake up, days: [Monday, Tuesday, Wednesday, Thursday, Friday]}

end tell

-- Deploy the event
tell Event Store to store these events myEvent

-- Clean up
tell the workshop to empty

end tell    


I'm trying to use the Power Manager's  "myWakeEvent" or some kind of WakeEvent to trigger my Mac to wake up. My intention is to place this script into a Folder Action then go from there.  I've tried bypassing all date and time properties but don't know how to structure to create just the simple trigger.
This script works with the latest Power Manager, once the first line is changed to read:

tell application "Power Manager"






See Power Manager's AppleScript documentation for more examples.

If you need help with Power Manager, please contact support@dssw.co.uk. We are be better able to help via e-mail.