User Submitted Macro

Hidden Window Manager

Written by Caddywhompus

What it does

This collection of three macros is the ultimate “Boss Key” system. One macro hides a window by middle-clicking on the title bar. Another macro restores windows when the coast is clear. The third simple macro runs at startup to check to see if the temporary file containing the list of hidden windows is present and deletes it if found. This corrects the situation that would result is someone restarted the computer without first showing all hidden windows.

What sets this apart is that is can handle up to 10 hidden windows at a time. It logs them in a text file, and then builds a multiple choice menu of hidden windows allowing you to restore only the one you want. The restored window is removed from the log so the next time the macro runs only the windows that are still hidden are shown in the menu.

To install

Download the macro file umhiddenwindowmanager.mex and save it to your hard drive. Open the macro file or import the macros into your existing macro file by clicking File, Import, Import Macros.

To use

Middle-click on the title bar of any window you want to make disappear. Poof! Gone. To restore, hit Ctrl+F12 to bring up the menu of hidden windows, pick the one you want and Viola! It is magically restored.

How it works

When the middle mouse button is clicked, the title of that window is saved in a file in your temp folder and then the ‘Window Hide’ command hides that window.

When the Ctrl+F12 key is pressed a Multiple Choice Menu is populated with the window titles saved in the temporary file. When one of the window titles is selected, the ‘Window Show’ macro command is used to unhide that window.

Requirements

– Written using Macro Express v 3.5.
– Can be imported into Macro Express Pro v 4.0.2.1 or later.