View Single Post
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#741
Thanks for the screenshots and icons!

Originally Posted by Win7Mac View Post
My remaining issues:
- {cell-signal-strength?{script: develsh signalbar.sh}}{{red}}{cell-signal-strength!Flugmodus an ✈} and
{{red}}{cell-signal-strength!Flugmodus an ✈}{cell-signal-strength?{script: develsh signalbar.sh} gives a "}" only when in flightmode

- {network-name}{network-name? {script: develsh /home/user/data-mode.sh}} also gives a "}" only when no network present
I have no idea why it behaves this way.

Originally Posted by Win7Mac View Post
- <</usr/share/...path-to-icon.png>> won't show up if put in BB directly or in python scripts, only from shell scripts
Probably I'm doing sth wrong, I tried
Code:
print ('{{blue}}'+event_date+' '+event_time+' '+title+' '+<</usr/share/themes/blanco/meegotouch/icons/icon-s-calendar.png>>)
as the last line in slartis' events.py
Put quotes around it.

Remember, the output of the script is just a string that gets interpreted by BB. There isn't a variable named <</usr/share/themes/blanco/meegotouch/icons/icon-s-calendar.png>> defined in the script. The python interpreter would probably have told you this, if you had ran it in terminal.

Originally Posted by Win7Mac View Post
- what about emoji icons in python scripts, possible (not really needed if images would work)?
Don't know. Try adding one to an output of a script. The script can be as simple as print 'character here' See what happens and what the python interpreter tells you.
 

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