Home » Questions » Computers [ Ask a new question ]

How do I add the 'Turn Off Computer' button to RocketDock?

How do I add the 'Turn Off Computer' button to RocketDock?

I'm running Windows XP with RocketDock.

Asked by: Guest | Views: 339
Total answers/comments: 1
bert [Entry]

"Open Notepad or any text editor you use.
Copy the following single line to the text:
(new ActiveXObject(""Shell.Application"")).ShutdownWindows();
Save as ""Shutdown.js"" (without the quotes) anywhere you like on your computer.
Create a new shortcut that points to Shutdown.js."