Taskbar Shortcut

G

Guest

I want to put a shourtcut to the "Turn off computer" dialog box in the
taskbar (the quicklaunch bar, directly to the right of the start button).
This is the box that comes up when you go to Start>Turn Off computer.

Keep in mind that I don't want this shortcut to shut of the PC, I want it to
link to the "Turn off computer" dialog box and then I can make the choice to
standby, turn off, or restart from there. I am using Windows XP Home.

Ty to anyone out there that can help me.
 
M

Mark F.

Ryan said:
I want to put a shortcut to the "Turn off computer" dialog box in the
taskbar (the quicklaunch bar, directly to the right of the start button).
This is the box that comes up when you go to Start>Turn Off computer.

Keep in mind that I don't want this shortcut to shut of the PC, I want it to
link to the "Turn off computer" dialog box and then I can make the choice to
standby, turn off, or restart from there. I am using Windows XP Home.

Ty to anyone out there that can help me.

Here is a trick if you can run scripts on the machine, copy the
following line (on one line) to a new text file and rename it with a .js
file extension.

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

When you run the script the "Shut Down Windows" dialog box will appear.

HTH
Mark
 
G

Guest

I tried this and when I double click on the file it opens in Dreamweaver MX.
How do i run it?
 
G

Guest

Thanks!
Works now!

Ramesh said:
Here is the .JS file association fix:
http://windowsxp.mvps.org/reg/js_asso_fix.reg

Download and save to Desktop. Right-click the file, and choose Merge.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I tried this and when I double click on the file it opens in Dreamweaver MX.
How do i run it?

Mark F. said:
Here is a trick if you can run scripts on the machine, copy the
following line (on one line) to a new text file and rename it with a .js
file extension.

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

When you run the script the "Shut Down Windows" dialog box will appear.

HTH
Mark
 
R

Ramesh, MS-MVP

You're welcome.

The following command-line displays the shutdown dialog (classic)

rundll32 msgina.dll,ShellShutdownDialog

You may also create a shortcut to the above command, and place it in the
Quick Launch area.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks!
Works now!
 
G

Guest

I put the script in the Quick Launch folder, now I need help changing the
icon. See new post "file icon" for today. Ty for your help.

Ramesh said:
You're welcome.

The following command-line displays the shutdown dialog (classic)

rundll32 msgina.dll,ShellShutdownDialog

You may also create a shortcut to the above command, and place it in the
Quick Launch area.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


Thanks!
Works now!

Ramesh said:
Here is the .JS file association fix:
http://windowsxp.mvps.org/reg/js_asso_fix.reg

Download and save to Desktop. Right-click the file, and choose Merge.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I tried this and when I double click on the file it opens in Dreamweaver
MX.
How do i run it?
 
R

Ramesh, MS-MVP

See new post "file icon" for today.

Answered it. But did not know it was you who posted that.

OK. Create a shortcut to the .JS file and then place it in the Quick Launch
folder. Then to customize the icon, right-click the shortcut and choose
Properties. Click the Change Icon button and choose your icon there.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com


I put the script in the Quick Launch folder, now I need help changing the
icon. See new post "file icon" for today. Ty for your help.
 
M

Mark F.

Ryan said:
I tried this and when I double click on the file it opens in Dreamweaver MX.
How do i run it?

:

Sorry about that! I should have specified that the .js file extension
needs to be associated with JScript files (it is by default).
 
G

Guest

np. i got it to work

Mark F. said:
Sorry about that! I should have specified that the .js file extension
needs to be associated with JScript files (it is by default).
 
L

Larry Gardner

Your Start Menu does show the Turn Off Computer button, correct?
Just curious, why create a new Quick Launch button for something that is 2
inches away?
Are you doing something creative?
 
G

Guest

quicker that way. less clicks

Larry Gardner said:
Your Start Menu does show the Turn Off Computer button, correct?
Just curious, why create a new Quick Launch button for something that is 2
inches away?
Are you doing something creative?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top