Let me know if I’ve misunderstood anything. The following are my off-the-cuff thoughts based on what I know of Windows development. Smarter people may be able to give you better suggestions. [I have no experience with Mac or Electron.]
The software currently does not behave using the right click function which is critical to the concept, instead it uses a clunky dropzone.
Looking at your use case, the desired User Experience (UX) appears to be to:
- Select one or more files in separate folders. This requires using one instance of Windows Explorer per folder.
- Right-click on any one selected file, choose the “Staple” menu, and all selected files across Explorer will be “stapled”.
Unless someone can give me a counter-example, built-in Windows functionality won’t allow you to do that. The right-click context menu can be used with one or more selected files in a single Explorer window, and does not work across multiple Explorer window instances.
Using built-in context menu behavior, the user would have to right-click on each file of interest across the Explorer windows and use “Staple” to add them one-by-one to the “staple group”. UX-wise, this seems like the same process required with a “clunky dropzone”. [Presumably each file of interest has to be dragged one-by-one from each Explorer window to the dropzone.]
So you can’t use built-in behavior. To extend this, what you’d have to do is have code written which effectively would:
- Query Windows to find all open Explorer windows.
- Query each Explorer window to get the list of selected files.
This code would be executed by FileStapler when the user selects “Staple” via the right-click menu. In fact, with such code it should be possible to staple all selected files by just running “FileStapler” [e.g. via a desktop shortcut].
What is the current state of FileStapler’s “right click menu” support? I.e. if the user selects a file in Explorer, then selects “Staple” via the right-click menu, what happens?