Change Shutdown / Restart / buttons

stereo

New member
Member
VIP
Local time
9:53 AM
Messages
541
Is there a way on Windows 7 to have it like in the pic bellow ?
Cheers.
 

Attachments

  • XP.jpg
    XP.jpg
    14.8 KB · Views: 8

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
CPU
Intel7 4790K
Motherboard
Gigabyte GA-Z97X UD5H
Memory
8 GB DDR3
Graphics Card(s)
GTX 980Ti G1
Sound Card
SoundBlaster X-FI XtremeGamer
Monitor(s) Displays
Samsung UE40JU6550 UHD
Screen Resolution
3840 X 2160
Hard Drives
1 SSD Intel 330
2 x Western Digital 6400 AAKS
1 x Western Digital 3200 AAKS
PSU
Corsair 750W
Case
Cooler Master HAF 922
You can try my application.

Probably it would be nicer to make it in some other environment, but I decided to use HTML application technology.

Firstly, those apps are highly customizable and all tools are in the system already. Which is good for people, who know nothing about programming. Secondly, it was also announced that Windows 8 apps are going HTML 5!

So, here is my app. It is using VBScript for calling shutdown.exe and Rundll32.exe Powrprof.dll commands.

Since it is not a standard binary application, all resources should be kept in the same folder. But you can customize it as you want. You would have to have some knowledge of HTML (or google+copy&pasting skills).

As for using it, you need to install some customizable start menu replacers, like Classic Shell Start Menu.
Then customize Shutdown button to start this file. (In Classic Shell Start Menu you need to go Start orb – Settings – Classic Start menu- At the bottom click All settings –Customize Start menu – Select Shutdown –Right click - Edit).


Command for the menu should be changed to the following:
Code:
"%SystemRoot%\System32\mshta.exe" "C:\YOUR_PATH_HERE\turnOff.hta"
To make this application work on Windows 8 M2/M3, I had to give up GetObject function in VBScript, which didn’t want to work properly (Gurus! Your advice regarding GetObject would be appreciated here).

So, if you want it to work on Windows 8 M2/M3, you need to replace lines from 19 to 29 with:

window.resizeTo 321,206
window.moveTo 480,297
(application window is centered as for 1280x800)

On Windows 7 works out of the box.
 

Attachments

My Computer

Computer type
PC/Desktop
OS
Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
Other Info
"The scale icon at the top right of a post or tutorial is how you can give rep to the member."
Back
Top