View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#88
Originally Posted by trayhoper View Post
That would be very nice if we can execute our python scripts on low power screen.I have a very good script written by me but i do not know how to write the return value on screen.
From the first page:

Originally Posted by thp View Post
It's described in the about screen of the app...

...Advanced features:
{script:uptime} - Insert output of "uptime" command
{script:/home/user/test.py} - Insert output of "/home/user/test.py" script...
I'm trying to write a shell script that would show me the next enabled alarm. I found out that:

Code:
dbus-send --system --type=method_call --print-reply --dest=com.nokia.time /com/nokia/time com.nokia.time.get_cookies_by_attributes dict:string:string:"enabled","1"
...will give you all the cookies for enabled alarms and that:

Code:
dbus-send --system --type=method_call --print-reply --dest=com.nokia.time /com/nokia/time com.nokia.time.query_attributes uint32:cookie
...will give you the attributes, including recurrence and time, of the alarm.

My poor skills with scripts haven't yielded results yet but maybe someone with more skills might make this happen more quickly...
 

The Following User Says Thank You to slarti For This Useful Post: