I made a few changes to the prevent standby plugin as it did not appear
in the plugin list and also was not preventing my PC from going to
standby.

When I enabled d_plugins I saw no debug info. Anyway, the entire
updated plugins/PreventStandby/Plugin.pm is in this post.

http://forums.slimdevices.com/showpost.php?p=100732&postcount=10

The main problem was that the code was missing a "use Win32::API;"
statement.

My PC will now wake on lan and stay awake perfectly. BTW - I had tried
making this API call from a VB app using the Execute script plugin, but
the thread which makes the call must stay active otherwise the PC just
goes to sleep.


-- 
oreillymj
------------------------------------------------------------------------
oreillymj's Profile: http://forums.slimdevices.com/member.php?userid=699
View this thread: http://forums.slimdevices.com/showthread.php?t=22625

_______________________________________________
Discuss mailing list
Discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to