Script code to acquire a local environment variable value in an image manager job definition script custom section:

Set oShell = CreateObject( "WScript.Shell" )

sUserAppdata = oShell.ExpandEnvironmentStrings("%APPDATA%")

In the above case what is being retrieved is the path to the user's "appdata" folder tree where UnForm image manager pending files are located beginning at UnForm version 8.0.