Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Windows 8 Forum Vista Tutorials

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Show Windows Stacked or Side by Side - Create Shortcuts


Comment
 

Show Windows Stacked or Side by Side - Create Shortcuts

How to Create a Shortcut for "Show Windows Stacked" or "Show Windows Side by Side"
Published by Brink
04-04-2008
Show Windows Stacked or Side by Side - Create Shortcuts

How to Create a Shortcut for "Show Windows Stacked" or "Show Windows Side by Side"

information   Information
This will show you how to create a Show Windows Stacked, Show Windows Side by Side, and a Undo Windows shortcut that can be placed where you like them for easy use in Windows 7 and Vista.
Note   Note
These shortcuts will allow you to have open windows on your desktop to either be displayed side by side vertically or stacked horizontally. The UndoWindows shortcut will set the open window back the way they were displayed before clicking on the SideBySide and Stacked shortcuts.
Tip   Tip
You can minimize the opened windows that you do not want included in the stack to the taskbar before using the scripts below.

EXAMPLE: Show Windows Stacked on Desktop
show_stacked.jpg
EXAMPLE: Show Windows Side by Side on Desktop
show_sidebyside.jpg
EXAMPLE: Default Shortcuts Location
NOTE: This is the defauly location of these shortcuts. Right click on the taskbar to see these. You will not see Undo Show Stacked or Undo Show Side by Side until after you clicked on either Show Windows Side by Side or Show Windows Stacked.
Name:  Right_Click_Taskbar.jpg
Views: 21888
Size:  14.1 KBName:  Undo_Stacked.jpg
Views: 21884
Size:  15.0 KBName:  Undo_SideBySide.jpg
Views: 21878
Size:  15.3 KB



OPTION ONE

To Download the Shortcuts
1. Click on the Download button below to download the
file below.
ShowWindows.zip

2. Click on Save and save it to the Desktop.

3. Right click on the downloaded zip file and click on Open.

4. Click on Allow in the (UAC-Vista).

5. Extract (drag and drop) the Stacked.vbs, SideBySide.vbs, and UndoWindows.vbs files to the desktop.

6. Right click on each extracted vbs file one at a time, and click on Properties, General tab, and on the Unblock button. (See screenshot below)
NOTE: If you do not have a Unblock button under the General tab, then the vbs file is already unblocked.

7. When done, you can delete the Show Desktop.zip (On Desktop) file if you want to.

8. Go to OPTION THREE below.



OPTION TWO

To Manually Create Shortcuts
1. Open the Start menu.

2. To Create the Show Windows Side by Side Shortcut
A) In the white line (Start Search) area type Notepad.exe and press Enter.

B) Copy and Paste this into Notepad: (See code below)
Code:
 
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.TileVertically
set objShell = nothing
C) In Notepad, click on File and click on Save As.

D) Change the save location to the Desktop.

E) In the File Name line, type SidebySide.vbs and click on Save. (See screenshot below)
NOTE: You can name it anything you would like. Just have .vbs at the end of it.
saveas_sidebyside.jpg
F) Close Notepad.
3. To Create the Show Windows Stacked Shortcut
A) In the white line (Start Search) area type Notepad.exe and press Enter.

B) Copy and Paste this into Notepad: (See code below)
Code:
 
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.TileHorizontally
set objShell = nothing
C) In Notepad, click on File and click on Save As.

D) Change the save location to the Desktop.

E) In the File Name line, type Stacked.vbs and click on Save. (See screenshot below)
NOTE: You can name it anything you would like. Just have .vbs at the end of it.
save_as_stacked.jpg
F) Close Notepad.
4. To Create the UndoWindows (Undo Show Side by Side or Stacked) Shortcut
A) In the white line (Start Search) area type Notepad.exe and press Enter.

B) Copy and Paste this below into Notepad: (See code below)
Code:
 
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.UndoMinimizeALL
set objShell = nothing
C) In Notepad, click on File and click on Save As.

D) Change the save location to the Desktop.

E) In the File Name line, type UndoWindows.vbs and click on Save. (See screenshot below)
NOTE: You can name it anything you would like. Just have .vbs at the end of it.
saveas_undowindows.jpg
F) Close Notepad.
5. Go to OPTION THREE below.






OPTION THREE

To Have Shortcuts with Different Icons

NOTE: The .vbs file icons from above cannot be changed. If these .vbs files are ok with you to use as the shortcut, then proceed to OPTION FOUR below.
1. Right click on one of the .vbs files (On Desktop) from OPTION ONE or OPTION TWO above and click Create Shortcut.

2. Right click on the new shortcut (On desktop) and click Properties.

3. For more on how to change a shortcut icon, see: How to Change a Shortcut Folder or File Icon in Vista




OPTION FOUR

How to Add Shortcuts to Quick Launch

NOTE: Quick Launch would be the easiest way to use these shortcuts, but you can have them where you like.
1. Go to: How to Use Quick Launch in Vista or How to Enable or Disable Quick Launch in Windows 7
NOTE: See OPTION ONE under the How to Add or Remove Shortcuts to Quick Launchsection at this link.

2. Move the new shortcuts (On Desktop) from above to inside the Quick Launch folder location.
That's it,
Shawn



Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 29,534
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

01-31-2010  
x65wtadh


Vista Home Premium x64
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Hi Brink,
I followed exactely your steps here.
For me it works only partialy : undo does not work, neither my shortcuts anymore in taskbar, so now my windows open in randomly shapes, very weird !
Is there any way I can uninstall or undo whatever these .vbs files do.
Just deleting them is not the solution.
Please help ?
Vista x64
Thank you very much.
x65wtadh

My System SpecsSystem Spec
01-31-2010  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Hello x65wtadh, and welcome to Vista Forums.

The VBS files are just shortcuts, and they do nothing other than run the same option used in the taskbar. There is nothing to undo from these VBS shortcuts other than to just delete them.

It appears it may be a problem with the feature itself since it does not work from the taskbar. You might see if running a SFC /SCANNOW command may be able to fix this for you.

Hope this helps,
Shawn
My System SpecsSystem Spec
01-31-2010  
x65wtadh


Vista Home Premium x64
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Hi Brink,
thanks for quick answer.
No need to run SFC/SCANNOW ,after a few forced shutdowns and some black screens everything back to normal, go figure ?!
I installed Aero Snap at the same time as .vbs yesterday, may be they confused each other.
Anyway I'm back up and running . Greetz from Chicago and thanks again.
x65wtadh
My System SpecsSystem Spec
01-31-2010  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

That's great news x65wtadh. I'm happy to hear everything is ok now.
My System SpecsSystem Spec
04-12-2011  
jimbtruck


Windows 7
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Ok, I just figured out that I have to hit the reply button instead of teh Post reply button. The Post reply button was yellow and would just take me back to the login screen.

How can I stack only the windows I want? I am running WIN7 btw. I run a batch file that opens a bunch of cmd KD windows and after launching them all I want to stack (tile) just them across teh desktop. How do I use the script above to do that?

Thanks!

Jim
My System SpecsSystem Spec
04-12-2011  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Hello Jim, and welcome to Vista Forums.

For Windows 7 related issues, you might consider registering at our sister site Seven Forums instead.

You would just need to minimize the opened windows that you do not want included in the stack to the taskbar first.

Hope this helps,
Shawn
My System SpecsSystem Spec
04-13-2011  
jimbtruck


Windows 7
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

I can, but many times when the batch file is launched, there are other windows open and I would like to be able to mitigate making sure they are closed before running it. Plus, at the very least, even if I close all the windows, the batch file is opened and will be stacked as well, which I definitely don't want.
My System SpecsSystem Spec
04-13-2011  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Show Windows Stacked or Side by Side - Create Shortcuts

Jim,

That's strange that the VBS file will stack as well. Do you have the VBS files unblocked and on the desktop or where you like so that you can click on them to use without having to open a folder to do so? In Windows 7, a good option would be to place the VBS files in ether Quick Launch, or in a New Folder and pin the folder to the taskbar.

Yeah, I agree that it can be a pain to have to minimize any opened windows on a screen that you do not want stacked on that screen. I find that clicking on their highlighted icon on the taskbar to minimize them makes it easier to do.
My System SpecsSystem Spec
Comment

Show Windows Stacked or Side by Side - Create Shortcuts problems?



Tutorial Tools


Similar topics to: Show Windows Stacked or Side by Side - Create Shortcuts
Tutorial Category
Can I set Windows Photo Gallery to display 2 or more photos side-by-side? Media Center
Winsxs stands for 'Windows Side By Side' Drivers
Side by side: UI changes from Windows 7 beta to build 7057 Vista News
Side by side: UI changes from Windows 7 beta to build 7048 Vista News
Any way to make a shortcut to "show windows side by side"... Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50