Cascade windows in XP without right clicking the Windows task bar

Flying_High_71 used Ask the Experts™
I need to know if I can cascade windows in XP without right clicking the task bar.  Why? I am working on a client computer which has security settings disabling right clicks on the Windows Task bar.  Apart from being an aggravatingly annoying loss of basic functionality, I am hoping I can still use the cascade windows function via some other method.  Can you assist please?

Many thanks. FH
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Open Notepad or another text editor, and type the line (new ActiveXObject("Shell.Application")).CascadeWindows(). Choose File, Save As. Navigate to an appropriate directory and type a name like "Cascade.js"; include the quotation marks so Notepad won't tack on its default.txt file extension. Click Save. To test the script, open Explorer and locate the icon for the file you just saved. When you double-click it, the open windows on your desktop should cascade.

To create scripts that will tile your open windows horizontally or vertically, repeat the steps outlined above but replace CascadeWindows() with TileHorizontally() or TileVertically(). Save each of these variations as its own separate.js file.

If you want to have quick access to your scripts, use the right mouse button to drag the files from the Explorer window and drop them into an appropriate submenu of the Start menu, onto the Quick Launch toolbar, or onto another toolbar. When you release the mouse button, select Create Shortcut(s) Here. Henceforth, you now tile or cascade all nonminimized windows just by clicking your shortcuts.

Note that if your computer associates JavaScripts with Notepad or another text editor, it won't run the script. To fix that, after you've placed the shortcut into your menu or toolbar, right-click the shortcut and choose Properties. Make sure the Shortcut tab is in front, and click the beginning of the Target text box. Type wscript.exe and a space. Click OK.

If you want to tile or cascade windows with a keyboard shortcut, you must place the shortcut icon either on the desktop or in a menu within the Start menu hierarchy. (I put all such shortcuts in a menu called 'Keyboard Shortcuts' so I can easily find them and change them later.) Right-click the shortcut icon and choose Properties. Make sure the Shortcut tab is in front. Click in the 'Shortcut key' box and press your desired keys. Windows forces you to have at least two modifier keys (from among Ctrl, Shift, and Alt) unless you press a function key or a key on the numeric keypad. Be aware that the keystrokes you choose will no longer work in any Windows application. Click OK and you're done. If you later decide to eliminate the keyboard shortcut, simply come back to this dialog box, click in the 'Shortcut key' box, and press Backspace. Then click OK and restart Windows.


ISoul solutions like yours are the reason I use this site!  Thanks so much for the detailed solution and the abundant extra information.  It truly is a top effort so I am maxing out these points and awarding them to you.



Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial