Thanks-- I had already found that bit. It's relevant if you have a degree in computer science, but I'm not a programmer. I"m looking for a recipe of code bits I can throw in to carry out certain tasks.
Have you taken a look at the Extend lesson in the Lessons panel (also available from the Welcome screen)? That's an actions primer for non-coders.