# Scripting Tips in a Task

- When scripting, you can add the reference for Cognex.Designer.Sequences.dll
- To rename or view scripts of a Task (On Error and On Complete), right-click on the Task and select Scripts.
- Note: If scripting will be utilized, it is advised to write the tag value in the script, versus writing to the output pin of a Block.

- In Tag Browser, you can access the properties of each Task.