Jump to content

Get process list


Recommended Posts

Posted

Hi,

 

How to get currently running processes (including/excluding background ones) within the workflow?

 

I've noticed, when I type "hide" keyword inside Alfred it shows running processes instantly. I have no idea how it does that.

 

I've tried using this command (from "Running" workflow), but it takes 2 seconds to get me the list:

 

osascript -e 'tell application "System Events" to get the file of every process whose background only is false'

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...