Example: Using doAction

The example below uses doAction to do the following things after workspace open :