Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Glass Command Prompt

19 Jul 2009   #1
Tripacer99

Windows 7 RTM x86 (Build 7600)
 
 
Glass Command Prompt

I take no credit for this, I found the original post on win7vista.com.

Quote:
If you are using Windows Vista or 7 and your graphics card supports Aero, then you must be enjoying the transparent windows having glass in their borders. The one and only thing which doesn't match with the new Aero interface is "Command Prompt" window.

Microsoft has not changed anything in the Command Prompt window. It's been the same for ages. Many people use Command Prompt regularly. Wouldn't it be great if we can somehow make the Command Prompt window transparent and have glass in it?

The following is a screenshot of Command Prompt window having glass:



As you can see it looks awesome. You can download the script using following link:

Glass CMD for Vista by ~komalo on deviantART

Simply run the EXE file and open Command Prompt. It'll have the glass automatically. To remove the glass, simply close the exe from the system tray. So start enjoying it now..
I've also found a nice way of getting it to run at startup.

1. Download the .exe
2. Create a shortcut of the .exe
3. Click on start, and type "SHELL:STARTUP"
4. Drag the shortcut to the folder
5. Right click on the shortcut, and click on properties
6. Set it to run minimized in the run drop down menu

and you're done!


My System SpecsSystem Spec
.
19 Jul 2009   #2
Cam

 

Why couldn't they just patch it through a series of registry tweaks?
My System SpecsSystem Spec
19 Jul 2009   #3
Tripacer99

Windows 7 RTM x86 (Build 7600)
 
 

Quote   Quote: Originally Posted by Cam View Post
Why couldn't they just patch it through a series of registry tweaks?
That'd be nice too. But unfortunately I can't find any patch like that.
My System SpecsSystem Spec
.

19 Jul 2009   #4
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by Cam View Post
Why couldn't they just patch it through a series of registry tweaks?
The window has to exist. Then you call DwmEnableBlurBehindWindow() api on the window. It looks a lot cooler if you have a blue or green background. Then you get a bluish blur in the client area of the command shell.

Like this:


Attached Images
Glass Command Prompt-blur.jpg 
My System SpecsSystem Spec
19 Jul 2009   #5
chuckr

XP_Pro, W7_7201, W7RC.vhd, SciLinux5.3, Fedora12, Fedora9_2x, OpenSolaris_09-06
 
 

Quote   Quote: Originally Posted by Tripacer99 View Post
I take no credit for this, I found the original post on win7vista.com.
Nice!
The DOS-box was definitely dullsville...
Thank you...
My System SpecsSystem Spec
19 Jul 2009   #6
Tripacer99

Windows 7 RTM x86 (Build 7600)
 
 

Quote   Quote: Originally Posted by ChuckR View Post
Nice!
The DOS-box was definitely dullsville...
Thank you...
No problem.
My System SpecsSystem Spec
20 Jul 2009   #7
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by ChuckR View Post
Nice!
The DOS-box was definitely dullsville...
Thank you...
Unfortunately you can't just call the blur background api and get a cool window. It works well with the command prompt because by default the client area is black. If you just call blur on the whole window buttons and any labels go weird. But you can still get a thick glass border without doing anything too extraordinary. As I use in some of my apps:


Attached Images
Glass Command Prompt-reopen.jpg 
My System SpecsSystem Spec
20 Jul 2009   #8
darkassain

Windows 7 Ult x64(x2), HomePrem x32(x4), Server 08 (+VM), 08 R2 (VM) , SuSe 11.2 (VM), XP 32 (VM)
 
 

yes calling that api using a white background window can just (or any light color) can make the screen unreadble (the autoit script was actually reference here: https://www.sevenforums.com/customiza...ompletely.html)
using that api can either get cool results (black or any dark background window with white text or light color text) or really unreadable window (white or any color background with black text or dark colored text)
My System SpecsSystem Spec
21 Jul 2009   #9
MilesAhead

Windows 7 32 bit
 
 

On codeproject.com there's code to draw on glass. But it looks like way too much of a pita. That's why I just went with the thick frame. It gets to a point where you are programming more interface sizzle than program. Plus the more complicated the messing with the windows the greater the chance of a crash. Besides, seeing through stuff isn't always the best for typing and reading.
My System SpecsSystem Spec
Reply

 Glass Command Prompt




Thread Tools




Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
SSH command prompt
Is there any way I can use ssh or something similar to enter command line prompts from my Mac terminal, similar to SSH but windows commands? (From mac to a windows 7 desktop)
Performance & Maintenance
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App