Kein
|
2012-06-11
, 13:32
|
Posts: 48 |
Thanked: 82 times |
Joined on Mar 2012
|
#81
|
|
2012-06-11
, 19:32
|
|
Posts: 149 |
Thanked: 72 times |
Joined on Mar 2012
@ Istanbul,Turkey
|
#82
|
|
2012-06-11
, 19:53
|
Posts: 55 |
Thanked: 28 times |
Joined on Jan 2010
|
#83
|
|
2012-06-12
, 01:07
|
Posts: 21 |
Thanked: 3 times |
Joined on Apr 2012
|
#84
|
|
2012-06-12
, 05:42
|
Posts: 26 |
Thanked: 18 times |
Joined on Oct 2011
|
#85
|
|
2012-06-12
, 11:22
|
Posts: 59 |
Thanked: 27 times |
Joined on Feb 2012
|
#86
|
|
2012-06-12
, 11:42
|
|
Posts: 149 |
Thanked: 72 times |
Joined on Mar 2012
@ Istanbul,Turkey
|
#87
|
|
2012-06-12
, 11:56
|
Posts: 277 |
Thanked: 319 times |
Joined on Jan 2010
|
#88
|
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.
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...
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"
dbus-send --system --type=method_call --print-reply --dest=com.nokia.time /com/nokia/time com.nokia.time.query_attributes uint32:cookie
The Following User Says Thank You to slarti For This Useful Post: | ||
|
2012-06-12
, 14:44
|
Posts: 55 |
Thanked: 28 times |
Joined on Jan 2010
|
#89
|
hi thp,
I wrote a small script to display currency exchange rate. Script uses wget to scrape data. script runs fine from command line. Also it shows results fine in preview area of billboard app. But on standby screen it doesn't show anything.
My observation is if the script execution is more than certain seconds(say 3-5 seconds, due to wget) the app isn't capturing the script output. Can you plz explain how the script is invoked and the output is captured?
As a workaround(may be a better solution to prevent draining battery), i cached the result of script & refresh only if the data is 8 hrs old. So, that the consecutive runs are faster & the app is able to capture output. (but, I still have problem when wget command fires)
|
2012-06-13
, 16:42
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#90
|
I wrote a small script to display currency exchange rate. Script uses wget to scrape data. script runs fine from command line. Also it shows results fine in preview area of billboard app. But on standby screen it doesn't show anything.
Can you plz explain how the script is invoked and the output is captured?
As a workaround(may be a better solution to prevent draining battery), i cached the result of script & refresh only if the data is 8 hrs old. So, that the consecutive runs are faster & the app is able to capture output. (but, I still have problem when wget command fires)
The Following 2 Users Say Thank You to thp For This Useful Post: | ||