Page 1 of 1

Formats for notification on screen ?

Posted: 05 Jun 2016 10:07
by Bender64
Hello, can you help me where can i find all formats what can i use in notifications on screen or write text to file ?
For example :

{getDate(),dateformat,HH:mm:ss} >>> 12:04:23
{ format ??? } >>> connected wifi name ?

and others ...

Re: Formats for notification on screen ?

Posted: 05 Jun 2016 11:13
by Bushmills
what you have between curly brackets in your first example is a function. Other than functions you can put variable names between curly brackets.
In script actions and expression conditions, the curly brackets aren't needed around function, but where text would otherwise be used literally (as in notifications), you brace functions with curly brackets, to let the interpreter know that execution is wanted for those.
The list of available functions can be looked at in different places: Description of scripting language, or add a script action, and tap on the "?" symbol at the end of "script action" line, or tap the "Function..." button below the text editor window.

Re: Formats for notification on screen ?

Posted: 06 Jun 2016 18:27
by Bender64
Thank you for the explanation but can not find how to setup popup notification which can tell me name of connected wifi

Re: Formats for notification on screen ?

Posted: 06 Jun 2016 18:36
by Bushmills
I'd use condition "active network type", test for WLAN, and take SSID from variable network_extra_info.

Re: Formats for notification on screen ?

Posted: 06 Jun 2016 18:43
by Bender64
Thank you for help ;)