When you are working with different applications and programs on your Windows 7 PC, a time may arrive, when you need to maintain the same order. For this some simple scripts can automatically arrange the applications in windows 7 and recover the overview of the applications have left open in your Windows 7 PC. We will get into each of the scripts, clicking on them, will arrange windows in cascade, vertically, or horizontally, provided that the applications are active: they are not minimized. To implement the first script, go to Documents in Windows 7, then create new folder, now give a name to this folder such as: Script to sort the applications and open it. Right click and create a new text document. To arrange in cascade: Now open Notepad ; to get a cascade arrange of windows enter the command:
(new ActiveXObject("Shell.Application")).CascadeWindows()
Have a quick screenshot of the steps:
---
Then in the menu and click File > Save As.. ; name it as Cascade.js . Change the file type from text (*.txt) to All files. This very important. (Please click and enlarge the above screenshot if you are having difficulty). The saved file must look like this:
To continue we need to create a shortcut to the script. You can create shortcut to the folder, Pin it on start menu or taskbar (please read this tutorial and this tutorial for further customization).
To arrange all the open Windows by cascade, just double click the script. You can create a keyboard shortcut too. Read this tutorial to do the same.
To organize horizontally:
To arrange horizontally, you should follow the above method, and enter the command:
(new ActiveXObject("Shell.Application")).TileHorizontally()
Save it as Horizontal.js
To organize vertically:
To organize vertically, again create a new text document and enter the command:
(new ActiveXObject("Shell.Application")).TileVertically()
Save it as Vertical.js.
Tagged With cascad