← Back to tools

active-win-cli

Get the title, ID, and other info of the active window

System & Monitoring linuxmacoswindows JavaScript MIT

Description

active-win-cli is a command-line tool that retrieves information about the currently active window, including its title, ID, process ID, and more. It is useful for scripting and automation tasks that need to interact with or respond to the active window.

AI Summary

CLI tool to get metadata about the currently active window

Capabilities

  • + Get the title of the active window
  • + Retrieve window ID and process ID
  • + Output window information in JSON format

Use When

  • You need to detect which window is currently focused
  • You are building automation scripts that depend on window context

Avoid When

  • x You need to manipulate windows, not just read info
View AGENTS.md for active-win-cli