Skip to content

bring window to front by pid - nodejs & windows

Notifications You must be signed in to change notification settings

matthiasheyman/bringToFront

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


window to front

native nodejs plugin to bring window of pid to foreground (currently windows only)


· Report Bug · Request Feature

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • node-gyp

Installation

  1. Clone the repo
git clone https://github.com/estradiaz/bringToFront.git
  1. Install NPM packages
npm install

Usage

const { pid } = require("bringToFront");

const hwnd = pid(process.pid)
if(hwnd > 0){

    console.log("window handle: " + hwnd)
} else{

    console.log("window not found - pid valid?")
} 

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/estradiaz/bringToFront

About

bring window to front by pid - nodejs & windows

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 58.8%
  • JavaScript 30.4%
  • Python 9.2%
  • Shell 1.6%