genesix.eu
genesix.eu

Reputation: 79

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

I am creating custom UI for windows (windows shell replacement), where themes are created using css (and app is created in javascript and html + nwjs - nodewebkit) The problem is I don't know how to make task bar - how to manage (min max restore) other windows (non nodewebkit like chrome, ixplorer, firefox, winamp...). Is there a easy way to make it in javascript or batch (cmd or bat file) or maybe nodejs package.

Or I need to learn coding in c or c++ to make something similar?

Upvotes: 0

Views: 140

Answers (1)

Michael Blankenship
Michael Blankenship

Reputation: 1669

Corey Butler's node-windows is the closest thing that I'm aware of. If it were me, and I were determined not to write this using Microsoft Visual Studio in C++ or C#, I think my approach would be to grab the full set of node-windows code and node_modules and then go to school on the underlying set of code. Somewhere within those dependencies someone has exposed part of the WIN32 API for iterating and controlling/installing NT services. In theory, one could fetch that module and work up a new one to provide access to the familiar methods to iterate and control windows by their handles.

Upvotes: 1

Related Questions