WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: NDeLancie on January 08, 2019, 10:18:24 AM

Title: PopMenu does not recognize Windows 10 Active Folder Window
Post by: NDeLancie on January 08, 2019, 10:18:24 AM
I have recently migrated from Win7 64-bit Enterprise to Win10 64-bit Enterprise. I ran WinBatch 2018A (and prior versions) under Win7, and continue to run WinBatch 2018A under Win10.

Under Win7, when PopMenu was invoked with a Windows Explorer folder window active (last window having focus), the application specific PopMenu menu file for Windows Explorer, CabinetWClass.mnw, could be created, and thereafter, would be loaded automatically when PopMenu was thereafter invoked, permitting WinBatch programs to be executed targeting the active Windows Explorer folder window (such as to permit making various view settings in batch by SendKeysTo).

Now, under Win10, PopMenu cannot recognize that a Windows Explorer folder window is the active window when PopMenu is instantiated, and it loads (if there is one) the .mnw file for the prior active window (e.g., if an Outlook Explorer window for the Inbox was active before making a Windows Explorer folder window active, PopMenu loads rctrl_renwnd32.mnw, not CabinetWClass.mnw, and if the prior active window was Internet Explorer, IEFrame.mnw gets loaded).

Further exploration indicates that PopMenu and WinBatch really can't figure out what the last active window was if it was a Windows Explorer folder window, even though they could easily do so under Win7.

Thoughts, anyone?

Thanks, Nick
Title: Re: PopMenu does not recognize Windows 10 Active Folder Window
Post by: td on January 08, 2019, 10:57:33 AM
Windows Store apps (a.k.a. WinRT based or related processes) do not follow Desktop Z-order rules so PopMenu ignores them.  The Explorer windows created by the Windows Explorer UI shell fit into that category and are ignored.   
Title: Re: PopMenu does not recognize Windows 10 Active Folder Window
Post by: NDeLancie on January 08, 2019, 11:08:47 AM
So, basically, Win10 broke PopMenu's functionality for Windows Explorer folder windows, and there is no work-around?

Sad. So many nice little timesaver routines now wasted.

Nick.
Title: Re: PopMenu does not recognize Windows 10 Active Folder Window
Post by: td on January 08, 2019, 01:42:08 PM
Depending on what exactly you are trying to do with your "timesavers", you can always try FileMenu.