activated()
Allows the action to synchronize its information with settings in another app.
Declaration
func activated()Discussion
The system invokes this method when the window of the Automator workflow to which the action belongs becomes the main window.
Be sure to invoke the superclass implementation of this method as the last thing in your implementation.