Reputation: 25
I want to monitor what applications are running. It's simple enough in AppleScript, but I can't find any useful information about how to do the same thing in Objective-C.
on run
tell application "System Events" to get name of every process
end run
Upvotes: 2
Views: 1888
Reputation: 150575
Your first port of call is the NSWorkspace documentation. In particular the runningApplications
method.
Upvotes: 5