processpicker

package
v1.9.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package processpicker implements the bounded native process-selection window used by automatic tasks. PIDs are display-time metadata only and are never returned to callers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(options Options, groups []processcatalog.Group, scale float64, dark bool, capture func(windows.Handle) error) error

Capture creates the real picker with deterministic process groups for devtools visual checks. It never scans the host process list.

func Focus

func Focus() bool

Focus brings the active picker to the foreground and reports whether one is open. The automation manager uses it to preserve nested modal behavior.

func Hide

func Hide()

func Show

func Show(options Options) error

Types

type Options

type Options struct {
	Owner        windows.Handle
	Selected     []automation.ProcessTarget
	Descriptions map[string]string
	Chinese      bool
	Text         func(string) string
	OnConfirm    func([]automation.ProcessTarget, map[string]string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL