maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Support thread] Billboard Standby Screen (https://talk.maemo.org/showthread.php?t=84507)

thedead1440 2012-12-13 11:42

Re: [Support thread] Billboard Standby Screen
 
Color changes inline are the coolest feature; the update was indeed worth waiting for!

Thanks thp!

Edit: thp, I was thinking like for {presence} if a sh script is placed instead that would have conditions like if online {{green}} is added pre-{presence} and red for busy etc how would the sh script be able to call on the {presence} field?

Is there an absolute path to point for {presence}? Or could you advice on how does {presence} gets it values from so then the script could point to that path and print values accordingly. Thanks!


Edit 2: Doing some digging I think the values in the system may be in binaries and you may have written some code to be able to grab it; if so I understand if you can't disclose it ;)

MK99 2012-12-13 12:12

Re: [Support thread] Billboard Standby Screen
 
This was really fast. It is already available for download. Thanks!

thp 2012-12-13 12:50

Re: [Support thread] Billboard Standby Screen
 
Quote:

Originally Posted by thedead1440 (Post 1304099)
Edit: thp, I was thinking like for {presence} if a sh script is placed instead that would have conditions like if online {{green}} is added pre-{presence} and red for busy etc how would the sh script be able to call on the {presence} field?

Yes, right not it does not evaluate the script output recursively. The {{green}} and other color tags are parsed by the renderer, so that's why you can have {{green}} in the script output and still work correctly.

Quote:

Originally Posted by thedead1440 (Post 1304099)
Is there an absolute path to point for {presence}? Or could you advice on how does {presence} gets it values from so then the script could point to that path and print values accordingly. Thanks!

It's in the ContextKit property "Presence.State". You can use the ContextKit packages found here: http://harmattan-dev.nokia.com/pool/.../c/contextkit/

Seems like there also is a python-contextkit package - that might be helpful if you are doing Python scripts. For shell scripts, "context-ls" from contextkit-utils might do the trick.

Reflektorfalke 2012-12-13 13:02

Re: [Support thread] Billboard Standby Screen
 
Many many thanks for this app.
This is one of the features that make our N9 outstanding and superior to any other device out there!

Its great to now have also Wazapp status included, but I have a question regarding this.
For internet connection I have a line like this:

{network-name} {network-name?⚫} {network-name!offline ⚪}

Resulting in a output like this:
While connected: <network name> ⚫
While offline: offline ⚪

Now I wanted to get a similar output for Wazapp status:
While connected: Wazapp ★ and
While offline: Wazapp ☆

And tried it this way:

{wazapp-status?Wazapp ★}{wazapp-status!Wazapp ☆}

but it canīt be done this way because {wazapp-status} is never empty...
Is there any other way to achieve the above I am not aware of?
Thanks for any help!

coderus 2012-12-13 13:14

Re: [Support thread] Billboard Standby Screen
 
wazapp-status empty when closed

Reflektorfalke 2012-12-13 13:19

Re: [Support thread] Billboard Standby Screen
 
Quote:

Originally Posted by coderus (Post 1304132)
wazapp-status empty when closed

Unfortunately not, at least for me, output for {wazapp-status} is "offline" while Wazapp is not running...

coderus 2012-12-13 13:21

Re: [Support thread] Billboard Standby Screen
 
swipe down? this is not closing, this is hiding :D
do exit in menu :D

Reflektorfalke 2012-12-13 13:29

Re: [Support thread] Billboard Standby Screen
 
1 Attachment(s)
Quote:

Originally Posted by coderus (Post 1304135)
swipe down? this is not closing, this is hiding :D
do exit in menu :D

LoL, no worries, I am taking the pain and follow the epic wazapp thread closely and silently :rolleyes:, so I know how wazapp works :D

Please see screenshot, taken with Wazapp closed, NOT via swipe down but via exit button ;-)
Note, there are two lines regarding Wazapp status...
First is from testing to get what I wanted, second is showing plain output of {wazapp-status}

coderus 2012-12-13 14:39

Re: [Support thread] Billboard Standby Screen
 
i have no idea what wrong with you, i have "closed" with this:
Code:

wazapp {wazapp-status}{wazapp-status!closed}

TMavica 2012-12-13 14:45

Re: [Support thread] Billboard Standby Screen
 
when wazapp quit, it said offline


All times are GMT. The time now is 16:16.

vBulletin® Version 3.8.8