If you already programmed a little bit the automagic syntax is very easy to learn. In automagic you have like three diffrent types of programming. The "flow programming", where you put action/condition after action/condition after action/condition and so on. You have the "script programming", the possibility to set and use variables during the action "script", you can use simple "script"-actions from my flows I posted here to learn more about the syntax. Martin made a good documentation of every possible function and if you're not sure what a certain function does, just feel free and try it. I learned it by myself by making example flows. The third type of programming is the "string programming"; with {} you can use variables and most of the functions from the "script programming" in fields of action where you normally just put in string. Addtitional to the "script programming"-functions in "string programming" you can format variables. For example just try the following action in a single floweTaurus wrote:Do you know a good place to start learning Automagics syntax? I really would like to learn creating flows with about the same complexity as yours. Is it like some kind of programming language?
first without formatstring:
Code: Select all
action: Notification on screen
TEXT: {triggertime}
and then with formatstring:
Code: Select all
action: Notification on screen
TEXT: {triggertime, dateformat, "dd.MM.yyyy HH:mm"}