0.15.0 • Published 7 months ago

@todesktop/plugin-active-win v0.15.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

ToDesktop Active Win

Get metadata about the active window.

Installation

Install @todesktop/client-active-win in your client-side application using

npm install @todesktop/client-active-win

Installation of the plugin package is also necessary. Using ToDesktop Builder, navigate to Plugins. Click on the Explore button for "Active Window" and install the package.

Usage

getActiveWin

Get metadata about the active window (title, id, bounds, owner, etc).

import { getActiveWin } from "@todesktop/client-active-win";

(async () => {
  console.log(await getActiveWin(options));
  /*
	{
		bounds: {
			x: 720,
			y: 330,
			height: 600,
			width: 800
		},
		id: 7184,
		memoryUsage: 1248,
		owner: {
			name: 'Simple App',
			processId: 56614,
			bundleId: 'com.google.Chrome',
			path: '/Applications/Google Chrome.app'
		},
		platform: "macos",
		title: 'Google',
	}
	*/
})();
0.15.0

7 months ago

0.13.1-beta

1 year ago

0.13.1-beta1

1 year ago

0.14.0

1 year ago

0.14.0-beta

1 year ago

0.13.0-beta

1 year ago

0.10.0

2 years ago

0.11.0-alpha.0

2 years ago

0.11.0

2 years ago

0.9.0

2 years ago

0.12.0

2 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago