Script automatic variables

If you want to access automatic variables in your script, use an Update Scalar component to write their values to user-defined variables, which you can then pass to your script.