Print Page | Close Window

Macro to shut down and restart

Printed From: MSSpeech-Forum
Category: Windows™ Speech Recognition Forums
Forum Name: Macros and Macro Development
Forum Description: WSR Macros, Tools, Files, and new Macro requests
URL: https://www.msspeech-forum.com/forum_posts.asp?TID=296
Printed Date: 31/Oct/2024 at 10:34pm
Software Version: Web Wiz Forums 12.02 - http://www.webwizforums.com


Topic: Macro to shut down and restart
Posted By: Sixwheels
Subject: Macro to shut down and restart
Date 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



Replies:
Posted By: mmarkoe_admin
Date 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.


Posted By: Sixwheels
Date 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.  ;-)


Posted By: Sixwheels
Date 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.  :-)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.02 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net