Microsoft PowerToys
repository·main·Indexed 11 days ago
https://github.com/microsoft/powertoysA suite of open-source utilities for Windows power users to enhance window management, file manipulation, and system customization. This developer documentation covers the architecture and implementation of various modules including Keyboard Manager, Mouse Utilities, Peek, and FancyZones, as well as the PowerToys Settings System and shared common projects.
What's inside PowerToys
- Command Not Found is a PowerToys module that provides helpful suggestions when you attempt to run a command in the Windows terminal that is not currently installed on your system. It intercepts 'command not found' errors and checks known package repositories (like WinGet) to suggest the exact command needed to install the missing tool.
Overview of ZoomIt Module
mainZoomIt is a screen zoom and annotation tool integrated into PowerToys. It provides functionality for:
- Zooming: Zoom in on specific screen areas.
- Annotation: Draw and annotate on the screen while zoomed.
- Presentation Tools: Use a timer for presentations or breaks.
- Navigation: Pan and move while zoomed in.
- Recording: Record screen activity including audio.
ZoomIt runs in the background and is activated via customizable hotkeys.
Overview of Advanced Paste
mainAdvanced Paste is a PowerToys module that provides enhanced clipboard pasting capabilities, including formatting options and AI-driven functionality.Overview of the Registry Preview Module
mainRegistry Preview is a WinUI 3-based module designed to simplify visualizing and editing complex Windows Registry files. It provides a powerful interface to preview, edit, and write changes to the Windows Registry. The module integrates the Monaco Editor to provide advanced text editing features such as syntax highlighting and line numbering within a desktop environment.Overview of Text Extractor
mainText Extractor is a PowerToys utility designed to extract and copy text from any visual content on the screen, including images and videos. It utilizes Optical Character Recognition (OCR) technology to identify text within a user-selected region and converts it into copyable text for the clipboard.Overview of Mouse Utilities
mainMouse Utilities is a collection of tools designed to enhance mouse and cursor functionality on Windows. It consists of four distinct sub-modules:
- Find My Mouse: Creates a visual spotlight effect to help locate the mouse pointer.
- Mouse Highlighter: Visualizes mouse clicks with customizable highlights.
- Mouse Jump: Enables quick cursor movement to specific screen locations using a grid-based UI.
- Mouse Pointer Crosshairs: Displays horizontal and vertical lines that follow the mouse cursor.
Overview of File Locksmith
mainFile Locksmith is a PowerToys utility that identifies which processes are locking or using a specific file. This allows users to see which applications have handles to a file, helping them resolve issues when they are unable to delete, move, or modify a file.Overview of PowerToys Peek
mainPowerToys Peek is a utility designed for quick file previews. For the official public documentation and feature details, refer to the Microsoft Learn page.Overview of Always on Top
mainThe Always on Top module allows users to pin specific windows so they remain visible on top of all other windows, even when switching focus to different applications. It includes visual indicators, such as customizable borders, to help users identify which windows are currently pinned.Overview of PowerToys Modules
mainPowerToys is composed of various individual modules, each providing specific utility functions for Windows. These modules range from window management and keyboard remapping to file manipulation and system utilities. Documentation for each module is maintained individually to cover its specific architecture, implementation, and debugging tools.Overview of the Environment Variables module
mainThe Environment Variables module is a PowerToys utility designed to provide a modern user interface for viewing, editing, and managing both Windows User and System environment variables. It allows for centralized management and the use of profiles to temporarily override settings.Overview of the Light Switch module
mainThe Light Switch module allows users to automate the transition between light and dark modes. It supports two primary modes of operation:
- Manual Mode: Users set custom specific times to start and stop dark mode.
- Sunrise to Sunset Mode: Uses geolocation to determine local sunrise and sunset times, allowing for automatic transitions. Users can apply time offsets (e.g., triggering dark mode 15 minutes before sunset).
Key Features:
- Keyboard Shortcut: Quickly toggle between modes using
Ctrl+Shift+Win+D(default). - Target Scope: Choose whether theme changes apply to Apps only, System only, or Both apps and system.
- Resilience: If the machine is asleep during a scheduled event, the service applies the correct settings at the next check.