Hi,
The website contains some explanations of Automagic in general:
Base Concepts
and a short tutorial to create a first flow (Step 5 uses a variable, basically a simple inline script):
Creating the First Flow
The help page of action
Script contains the documentation of the scripting language:
Action Script
I recommend to create a new flow with an empty action
Script and some simple logging statement to print some text to the log:
-directly execute the script from the action screen using menu->Execute
-check the log to see the value written to the log (menu->Log). Part of the log should look something like:
Code: Select all
30.06.2013 11:30:00.000 [Manual Test] Start executing...
30.06.2013 11:30:00.000 [b]Hello World[/b]
30.06.2013 11:30:00.000 [Manual Test] End executing...
You can then start to use a variable or do some simple math expressions:
The help page of action
Script contains some more examples you can try.
The catalog (on the flow list: menu->Catalog) has a section
Scripting with some example flows using scripting features (for example Countdown, Ringer Mode Switch, Random Wallpaper).
Regards,
Martin