View Single Post
Old 04-09-2013, 11:18 AM   #18
PaulFreund
*
PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.PaulFreund understands the importance of being earnest.
 
PaulFreund's Avatar
 
Posts: 35
Karma: 145852
Join Date: Apr 2013
Device: Kindle Touch
Small addition: I just found out there has to be a way to fetch events from powerd! it is in the file /usr/share/webkit-1.0/pillow/javascripts/simple_alert_config.js I hope I get this soon.

EDIT:

Found out the command and syntax!

Code:
nativeBridge.subscribeToEvent(appID, appEvent)
where appID is "com.lab126.powerd" and appEvent is for example "outOfScreenSaver"

Now I only have to find out how to catch this

Last edited by PaulFreund; 04-09-2013 at 11:22 AM. Reason: New findings
PaulFreund is offline   Reply With Quote