user825574
user825574

Reputation: 71

Making cocoa app respond to automator actions

I would like to make my app respond to automator actions, similar to the way iPhoto has several actions associated with it (import photos, find iphoto items, new iPhoto album etc.).

I can make the actions, but do not know how to make my app respond to any of them (except the open files actions where I use: - (void) application:(NSApplication *)sender openFiles:(NSArray *)filenames).

I can't find any docs or example code. Anything would be appreciated!!!

Upvotes: 3

Views: 360

Answers (2)

Macmade
Macmade

Reputation: 54029

Introduction to Automator Programming Guide

That document should get you started...

Upvotes: 0

Related Questions