文件名称:node-window-manager:使用Node.js管理Windows,macOS和Linux中的窗口
文件大小:39KB
文件格式:ZIP
更新时间:2024-02-22 00:21:05
nodejs windows macos linux swift
节点窗口管理器 在Windows,macOS和Windows中管理Windows Linux (在制品) 安装 要安装此软件包,只需运行 $ npm install node-window-manager 快速开始 下面的示例显示如何获取当前焦点窗口的标题并将其隐藏。 const { windowManager } = require ( "node-window-manager" ) ; const window = windowManager . getActiveWindow ( ) ; // Prints the currently focused window bounds. console . log ( window . getBounds ( ) ) ; // This method has to be called on macOS before changing the window's bounds, otherwise it will throw an error. // It will prompt an accessibility permission r
【文件预览】:
node-window-manager-master
----.github()
--------FUNDING.yml(82B)
--------ISSUE_TEMPLATE()
----binding.gyp(555B)
----yarn.lock(43KB)
----example.js(778B)
----src()
--------index.ts(3KB)
--------classes()
--------interfaces()
----.vscode()
--------launch.json(617B)
--------settings.json(1KB)
--------tasks.json(617B)
----lib()
--------macos.mm(10KB)
--------windows.cc(14KB)
----.clang-format(1KB)
----tsconfig.json(418B)
----LICENSE(1KB)
----tslint.json(494B)
----README.md(875B)
----docs()
--------monitor.md(1KB)
--------breaking-changes.md(938B)
--------window-manager.md(1KB)
--------window.md(2KB)
--------rectangle.md(83B)
----.gitignore(104B)
----package.json(1KB)