init(contentsOf:)
Loads an Automator action from a file URL.
Declaration
init(contentsOf fileURL: URL) throwsParameters
- fileURL:
URL that specifies the location of an action file.
Return Value
The initialized action.
Discussion
This method is typically invoked by app that use the AMWorkflow class to embed Automator workflows. It is used to allow creation of actions for a workflow.