node-windows-powershell

1.2.0 • Public • Published

Node Windows

This is a simple module made for Windows Dock. Made for Windows 10 only.

Overview

  • Manages all user open windows
  • Gets icon from path

Installing

npm install node-windows-powershell
# or
yarn add node-windows-powershell

Documentation

function: getWindows() -> Window

Returns all visible user opened windows.

function: getIcon(path:string) -> string

Returns a base64 image of the icon present in the path.

Class: Window

Attributes
  • title: Window title.
  • name: Window process name.
  • state: Current window state (starts null).
Methods
  • minimize(): Minimizes window.
  • restore(): Restores window.
  • maximize(): Maximizes window.
  • getPath() -> string: Returns executable's path.
  • getIcon() -> string: Returns executable's icon in base64.

Readme

Keywords

Package Sidebar

Install

npm i node-windows-powershell

Weekly Downloads

0

Version

1.2.0

License

ISC

Unpacked Size

5.61 kB

Total Files

7

Last publish

Collaborators

  • brenodega28