MSSpeech-Forum Homepage
Forum Home Forum Home > Windows™ Speech Recognition Forums > Macros and Macro Development
  New Posts New Posts RSS Feed - Macro to shut down and restart
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Macro to shut down and restart

 Post Reply Post Reply
Author
Message
Sixwheels View Drop Down
Member
Member
Avatar

Joined: 27/Mar/2011
Location: MD
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Topic: Macro to shut down and restart
    Posted: 13/Jul/2012 at 1:24pm
Hello everyone,
I would like to be able to say the command "shut down my computer", or "restart my computer", and have it done automatically with a macro. Unfortunately, I can't figure out how to do it. Any suggestions would be greatly appreciated. Smile
Back to Top
mmarkoe_admin View Drop Down
Admin Group
Admin Group
Avatar

Joined: 16/Jul/2008
Status: Offline
Points: 331
Post Options Post Options   Thanks (0) Thanks(0)   Quote mmarkoe_admin Quote  Post ReplyReply Direct Link To This Post Posted: 14/Jul/2012 at 9:36am
Originally posted by Sixwheels Sixwheels wrote:

I would like to be able to say the command "shut down my computer", or "restart my computer", and have it done automatically with a macro. Unfortunately, I can't figure out how to do it.
This is doable. The keystroke commands for closing a program, or if no programs are open closing Windows, is Alt + F4.
 
You can closs any open programs by voice. I.E., "Close Microsoft Word." Once at the desktop, activate a macro, "Shut down my computer." Here are the keystrokes for my office workstation which is Windows 7 Professional to Restart:
 
Alt + F4 - to bring up Shutdown Windows dialog box
Down Arrow - to go to Restart
Enter - to activate Restart
 
For Shutdown my computer:
Alt + F4 - to bring up Shutdown Windows dialog box
Down Arrow - to go to Restart
Down Arrow - to go to Sleep
Down Arrow - to go to Shutdown
Enter - to activate Shutdown
 
Try the keystrokes first to confirm this works.
 
Marty Markoe, eMicrophones, Inc.
Back to Top
Sixwheels View Drop Down
Member
Member
Avatar

Joined: 27/Mar/2011
Location: MD
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Posted: 14/Jul/2012 at 5:32pm
Interesting.  Every computer must be slightly different. Alt + F4 does bring up a shutdown window, but instead of the down arrow key, it is the left arrow key that changes the selection.  Nevertheless, Marty, you are right on!  I should absolutely be able to make this work.  Always great doing business with you.  ;-)
Back to Top
Sixwheels View Drop Down
Member
Member
Avatar

Joined: 27/Mar/2011
Location: MD
Status: Offline
Points: 88
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Posted: 15/Jul/2012 at 2:32pm
Just wanted to let everyone know that this worked perfectly.  When creating the macro, you may want to add some pauses, if you're actually interested in seeing it work, otherwise it goes so fast that it's done in the blink of an eye.  :-)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.02
Copyright ©2001-2019 Web Wiz Ltd.

This page was generated in 0.205 seconds.

Microsoft Most Valuable Professional

§- Thank you for visiting our Windows Speech Recognition and Macro Forum.. -§