Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Command for fetch the list of software installed
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ApplejustWorks" data-source="post: 406438" data-attributes="member: 2105"><p>The majority of time you need to be aware of other apps is if you're looking to set a default for a protocol (open these files with this app, programmatically), where you use <a href="http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html" target="_blank">Launch Services</a>. This is Carbon, but as of now it is the only way to access this infrastructure.</p><p></p><p>If you're looking at launched apps, NSWorkspace's launchedApplications method returns an NSArray with that information.</p><p></p><p>Anyway, why do you need to know the apps on the system? If you give the context, perhaps I can lead you further.</p></blockquote><p></p>
[QUOTE="ApplejustWorks, post: 406438, member: 2105"] The majority of time you need to be aware of other apps is if you're looking to set a default for a protocol (open these files with this app, programmatically), where you use [URL="http://developer.apple.com/documentation/Carbon/Reference/LaunchServicesReference/Reference/reference.html"]Launch Services[/URL]. This is Carbon, but as of now it is the only way to access this infrastructure. If you're looking at launched apps, NSWorkspace's launchedApplications method returns an NSArray with that information. Anyway, why do you need to know the apps on the system? If you give the context, perhaps I can lead you further. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Command for fetch the list of software installed
Top