NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
You should have looked harder :) (Score:1)
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
this was in my system log.
Apr 27 03:15:02 macjerry syslogd: restart
Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoWake 0x00000000
Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoPower 0x00000000
Apr 27 03:15:03 macjerry kernel: ApplePMUUserClient::setProperties AutoWake 0x00015123
Apr 27 03:15:03 macjerry osascript: LaunchApplication(/System/Library/CoreServices/System Events.app)
Apr 27 03:15:59 macjerry
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
Let's try a photosensor looking at the screen, when activated
by the wakeup, cut current to electromagnet holding weight
above keyboard, yeah that ought to do the trick
I have not tried (at any time) system events, do you think
simulating a key press would do the trick?
Jerry
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
#include
main() {
UpdateSystemActivity(OverallAct);
return 0;
}
He said it "might" work.
I got my full fifteen minutes last night...
Jerry
Re:You should have looked harder :) (Score:1)
// cc -o keypress keypress.c -framework Carbon
#include <Carbon/Carbon.h>
main() {
UpdateSystemActivity(OverallAct);
return 0;
}
Jerry
Reply to This
Parent
Re:You should have looked harder :) (Score:2)
Re:You should have looked harder :) (Score:1)
#!/bin/sh
/usr/local/bin/keypress
and dumped it into
/etc/periodic/{daily | weekly | daily} ( and made sure it is executable )
It fired first when cron started and I got my 15 minutes of fame.
http://homepage.mac.com/Cocoa for the whole story/package
Jerry
Re:You should have looked harder :) (Score:2)