Microsoft PowerToys

repository·main·Indexed 11 days ago

https://github.com/microsoft/powertoys

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

Tokens
235.1K
Snippets
529
Records
1.1K
Agent score
99%

What's inside PowerToys

  1. Overview of Command Not Found

    main
    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.
  2. Overview of ZoomIt Module

    main

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

  3. Overview of the Registry Preview Module

    main
    Registry 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.
  4. Overview of Mouse Utilities

    main

    Mouse 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.
  5. Overview of PowerToys Modules

    main
    PowerToys 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.
  6. Overview of the Light Switch module

    main

    The Light Switch module allows users to automate the transition between light and dark modes. It supports two primary modes of operation:

    1. Manual Mode: Users set custom specific times to start and stop dark mode.
    2. 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.