Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
How to get other windows list in Electron

Yes I know the title may suggest it's duplicate but it's actually not. I searched through internet for the solution but I couldn't find any.

My problem is how to get list (array) of all opened windows globally, not electron windows. Something like Discord gets all apps processes and lists them in Activity in settings.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can try ps-node and find-process to get all running processes and get their names.

const ps = require('ps-node')
const find = require('find-process')

ps.lookup('', (Err, Programs) => {
    Programs.forEach(prog => {
        find('pid', prog.pid).then((progDetails) => {
            const procName = progDetails.map(stuff => stuff.name)[0]
            console.log(procName)
        })
    });
})

This may not be the cleanest way, but it works!

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!