Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Applications proxy #221

Closed
pjrobertson opened this issue Apr 20, 2011 · 6 comments
Closed

Running Applications proxy #221

pjrobertson opened this issue Apr 20, 2011 · 6 comments
Milestone

Comments

@pjrobertson
Copy link
Member

@pjrobertson pjrobertson commented Apr 20, 2011

I'd like to make use of the NSRunningApplication class that's new to 10.6

We could include it in QS within an if() so it only runs on 10.6, although I'm not sure if this would be possible.

Implementing it would be as easy as running

NSArray *runningApps = [[NSWorkspace sharedWorkspace] runningApplications];

Method is

  • (NSArray *)runningApplications
@skurfer
Copy link
Member

@skurfer skurfer commented Apr 20, 2011

I don’t have that one. What plug-in is it part of?

@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Apr 20, 2011

Feature request ;)

@ghost
Copy link

@ghost ghost commented Apr 20, 2011

you've been able to get a list of running apps since at least 10.4, and this is already in QS in a couple of different forms.
if you enable searching catalogs, and enable the "Running Applications & Processes" catalog entry, that will show you a list of running apps. also, the "Visible Applications" proxy object shows the same apps.
this actually seems to be a bug, Visible Apps is meant to be a counterpart to Hidden Apps, but it shows all running apps whether they're hidden or not. in the next day or two, i'll fix this bug, and make a "Running Applications" proxy that does what the Visible Apps one does currently

@ghost
Copy link

@ghost ghost commented Apr 20, 2011

take a look at d9221f2

@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Apr 20, 2011

Damn Alcor for always thinking of everything.

When we go 10.6+ only, it may be worth changing to using an NSRunningApplications class, but this looks good.

I'll have a play when I get some time...

@ghost ghost self-assigned this Apr 24, 2011
@pjrobertson
Copy link
Member Author

@pjrobertson pjrobertson commented Apr 29, 2011

Fixed in latest HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants