Page 1 of 1

Action:Notification on Screen. Expression fails ...

Posted: 29 May 2014 17:37
by BoBo
action:Notification on Screen
... shows a notification on the screen for a short period of time.

String Inline Expressions is showing several sample string expressions which can be displayed that way. I've used two of those samples ...

{getdate(),dateformat,HH:mm} // delivers {error}
{triggertime,dateformat,timezone,Europe/Paris,HH:mm} // delivers the current time

BoBo 8-)

Re: Action:Notification on Screen. Expression fails ...

Posted: 30 May 2014 08:23
by Martin
Hi,

Both expressions work fine for me.
Could you please try the first expression again and send the log to me if it fails again (Menu->Manage->Log, Menu->Send Log to info@automagic4android.com).

Regards,
Martin

Re: Action:Notification on Screen. Expression fails ...

Posted: 30 May 2014 14:29
by BoBo
Martin has informed me that ignoring upper-/lower case within scripts will throw out an error!

{getdate(),dateformat,HH:mm} WRONG!
{getDate(),dateformat,HH:mm} CORRECT.

So the error was in front of the keyboard :oops:

Re: Action:Notification on Screen. Expression fails ...

Posted: 30 May 2014 14:36
by Martin
Glad it's working now.
I will add an entry on my todo-list to improve the error highlighting for such cases, since it's very difficult to spot such problems.