Manage (min max restore) other windows in node webkit (or in node.js or cmd) - 任务栏替代

Manage (min max restore) other windows in node webkit (or in node.js or cmd) - task bar alternative

我正在为 windows 创建自定义 UI(windows shell 替换),其中主题是使用 css 创建的(应用是在javascript 和 html + nwjs - nodewebkit) 问题是我不知道如何制作任务栏 - 如何管理(最小最大恢复)其他 windows(非 nodewebkit,如 chrome、ixplorer、firefox、winamp...)。 有没有一种简单的方法可以在 javascript 或批处理(cmd 或 bat 文件)或 nodejs 包中制作它。

或者我需要学习用 c 或 c++ 编写代码才能做出类似的东西?

Corey Butler 的 node-windows 是我所知道的最接近的东西。如果是我,并且我决定 使用 Microsoft Visual Studio 在 C++ 或 C# 中编写此代码,我认为我的方法是获取完整的节点集-windows代码和node_modules然后去学底层代码集。在这些依赖关系中的某个地方,有人公开了 WIN32 API 的一部分用于迭代和 controlling/installing NT 服务。理论上,可以获取 that 模块并开发一个新模块以提供对熟悉方法的访问,以通过其句柄迭代和控制 windows。