1.2.0 • Published 4 years ago

node-windows-powershell v1.2.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

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

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago