Thursday, March 13, 2008

2. Create a Shut down Dialog box in any folder or desktop.

Doing this u r able for prompt for stand by, turn-off, restart by writing a small java script (.js extension)

STEP-1 Open Notepad & write the following code in it

(new ActiveXObject("Shell.Application")).ShutdownWindows();

STEP-2 Save this script with .js extension.
e.g shutdown.js

now ur shutdown button is ready 2 use anywhr.

0 comments: