I believe that your plugin is what I have been looking for for a while. Basically, I am looking to set a timer that will place my computer into hibernate mode after a set amount of time my computer is idle.
I have tried to accomplish this with your plugin, but i don't think i'm doing it right.
I have gone into the 'Show ScheduleGhost' macro, and have added a new schedule titled 'Sleep Timer' with schedule type as Time Span. I set the time span for 5 seconds (just to test) and I labeled the start event suffix as sleep and left the stop event suffix and event payload as blank (as I'm not quite sure what either mean)
When I select 'Test Now' I see the event 'ScheduleGhost.sleep' pop up in the log, but then after the 5 seconds are up, I get a buunch of errors:
- Code: Select all
Traceback (most recent call last) (1462):
File "C:\Program Files (x86)\EventGhost\eg\Classes\Scheduler.py", line 143, in MainLoop
File "C:\Program Files (x86)\EventGhost\plugins\ScheduleGhost\_init_.py", line 2305, in ScheduleGhostScheduleRun
ValueError: list.index(x): x not in list
Do you think you could let me know what I can do to accomplish what I am looking to do?