Action:Notification on Screen. Expression fails ...

Post your questions and help other users.

Moderator: Martin

Post Reply
BoBo
Posts: 129
Joined: 05 May 2014 12:45

Action:Notification on Screen. Expression fails ...

Post by BoBo » 29 May 2014 17:37

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-)
Last edited by BoBo on 30 May 2014 14:35, edited 1 time in total.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 30 May 2014 08:23

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

BoBo
Posts: 129
Joined: 05 May 2014 12:45

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

Post by BoBo » 30 May 2014 14:29

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:

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 30 May 2014 14:36

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.

Post Reply