Notices


Reply
Thread Tools
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#301
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

Last edited by thedead1440; 2012-12-13 at 12:26.
 
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#302
This was really fast. It is already available for download. Thanks!
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#303
Originally Posted by thedead1440 View Post
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.

Originally Posted by thedead1440 View Post
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.
 

The Following User Says Thank You to thp For This Useful Post:
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#304
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!
__________________
------------------------------------------------------------
Bluetooth PBAP-Profile/Carkit support - Check Wiki-Page
Sociality FB-Client, MAG strikes again - Check Wiki-Page

QNeptunea -
Best Twitter Client for N9/N950 - HowTo Create Themes
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#305
wazapp-status empty when closed
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#306
Originally Posted by coderus View Post
wazapp-status empty when closed
Unfortunately not, at least for me, output for {wazapp-status} is "offline" while Wazapp is not running...
__________________
------------------------------------------------------------
Bluetooth PBAP-Profile/Carkit support - Check Wiki-Page
Sociality FB-Client, MAG strikes again - Check Wiki-Page

QNeptunea -
Best Twitter Client for N9/N950 - HowTo Create Themes
 

The Following User Says Thank You to Reflektorfalke For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#307
swipe down? this is not closing, this is hiding
do exit in menu
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#308
Originally Posted by coderus View Post
swipe down? this is not closing, this is hiding
do exit in menu
LoL, no worries, I am taking the pain and follow the epic wazapp thread closely and silently , so I know how wazapp works

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}
Attached Images
 
__________________
------------------------------------------------------------
Bluetooth PBAP-Profile/Carkit support - Check Wiki-Page
Sociality FB-Client, MAG strikes again - Check Wiki-Page

QNeptunea -
Best Twitter Client for N9/N950 - HowTo Create Themes
 
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#309
i have no idea what wrong with you, i have "closed" with this:
Code:
wazapp {wazapp-status}{wazapp-status!closed}
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#310
when wazapp quit, it said offline
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 

The Following 2 Users Say Thank You to TMavica For This Useful Post:
Reply


 
Forum Jump


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