MSSpeech-Forum Homepage
Forum Home Forum Home > Windows™ Speech Recognition Forums for New and Disabled Users. Help, Files and FAQs. > Macros and Macro Development
  New Posts New Posts RSS Feed: Macro to shut down and restart
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Macro to shut down and restart

 Post Reply Post Reply
Author
Message / View First Unread Post
Sixwheels View Drop Down
Member
Member
Avatar

Joined: 27/Mar/2011
Location: MD
Online Status: Offline
Posts: 88
Post Options Post Options   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Topic: Macro to shut down and restart
    Posted: 13/Jul/2012 at 3: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
Online Status: Offline
Posts: 331
Post Options Post Options   Quote mmarkoe_admin Quote  Post ReplyReply Direct Link To This Post Posted: 14/Jul/2012 at 11:36am
Originally posted by Sixwheels

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
Online Status: Offline
Posts: 88
Post Options Post Options   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Posted: 14/Jul/2012 at 7: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
Online Status: Offline
Posts: 88
Post Options Post Options   Quote Sixwheels Quote  Post ReplyReply Direct Link To This Post Posted: 15/Jul/2012 at 4: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

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.66
Copyright ©2001-2010 Web Wiz

This page was generated in 0.047 seconds.

Microsoft Most Valuable Professional

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