Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).