Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesmcroft/window-watcher
An SDK to listen to changes to the current foreground (active) window on Windows devices
https://github.com/jamesmcroft/window-watcher
dotnet pinvoke sdk window-management windows
Last synced: 28 days ago
JSON representation
An SDK to listen to changes to the current foreground (active) window on Windows devices
- Host: GitHub
- URL: https://github.com/jamesmcroft/window-watcher
- Owner: jamesmcroft
- License: mit
- Created: 2022-09-01T06:44:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T21:29:31.000Z (11 months ago)
- Last Synced: 2024-05-01T15:20:36.912Z (6 months ago)
- Topics: dotnet, pinvoke, sdk, window-management, windows
- Language: C#
- Homepage:
- Size: 232 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Window Watcher
[![GitHub release](https://img.shields.io/github/release/jamesmcroft/window-watcher.svg)](https://github.com/jamesmcroft/window-watcher/releases)
[![Build status](https://github.com/jamesmcroft/window-watcher/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/jamesmcroft/window-watcher/actions/workflows/ci.yml)
[![Twitter Followers](https://img.shields.io/twitter/follow/jamesmcroft?label=follow%20%40jamesmcroft&style=flat)](https://twitter.com/jamesmcroft)
[![SDK](https://img.shields.io/nuget/v/WindowWatcher?label=sdk)](https://www.nuget.org/packages/WindowWatcher/)The Window Watcher SDK allows you to listen for changes to the current foreground (active) window on Windows devices. The SDK takes advantage of the `user32.dll` windowing APIs to get information about the current foreground (active) window on a device using P/Invoke.
## Getting started
### Get the SDK
If you want to build your own applications on the Window Watcher SDK, you can install the package into your dotnet application.
```bash
dotnet add package WindowWatcher
```Or by adding the `WindowWatcher` package in your NuGet package manager of choice.
To use the SDK, [follow the Window Watcher SDK instructions](https://github.com/jamesmcroft/window-watcher/blob/main/src/WindowWatcher/README.md).
## Contributing 🤝🏻
Contributions, issues and feature requests are welcome!
Feel free to check the [issues page](https://github.com/jamesmcroft/window-watcher/issues). You can also take a look at the [contributing guide](https://github.com/jamesmcroft/window-watcher/blob/main/CONTRIBUTING.md).
We actively encourage you to jump in and help with any issues, and if you find one, don't forget to log it!
## Support this project 💗
As many developers know, projects like this are built and maintained in maintainers' spare time. If you find this project useful, please **Star** the repo.
## Author
👤 **James Croft**
* Website:
* Twitter: [@jamesmcroft](https://twitter.com/jamesmcroft)
* Github: [@jamesmcroft](https://github.com/jamesmcroft)
* LinkedIn: [@jmcroft](https://linkedin.com/in/jmcroft)## License
This project is made available under the terms and conditions of the [MIT license](LICENSE).