Note: This post is out of date as of Alfred 3.6 (which introduced AppleScript functions to set and remove variables).
There is an updated version on my own site: Workflow/environment variables in Alfred.
This post will not be updated due to the difficulty of editing complex posts using the forum software. Sorry.
This is a brief look at how to get, set and save variables in code (i.e. in Script Filters, Run Script Actions, etc.).
In Alfred 2, you had one sin