iceman Posted March 2, 2007 Report Share Posted March 2, 2007 Does it use the Microsoft shutdown command? I noticed that Windows 2000 and XP use different parameters for the shutdown command. <REBOOT><SHUTDOWN><POWEROFF> Thanks in advance. Quote Link to comment Share on other sites More sharing options...
kevin Posted March 2, 2007 Report Share Posted March 2, 2007 All programs, including Macro Express, communicate within Windows via messages. There are specific messages to perform each of these system commands: Reboot, Shutdown and Power Off. There are other specific messages used to perform these other similar system commands: Lock Workstation, Logoff, Suspend Computer, and Hibernate. I noticed that Windows 2000 and XP use different parameters for the shutdown command.What do you mean? Quote Link to comment Share on other sites More sharing options...
Cory Posted March 2, 2007 Report Share Posted March 2, 2007 You can also use the "Launch Program" and use the 2000/XP/Vista shutdown switches. It's just like typing it in at the Run line. For instance shutdown /r /t 30 BTW in Vista there are more command line parameters for Shutdown and you can even add comments now like in Windows Server 2003. Quote Link to comment Share on other sites More sharing options...
kevin Posted March 2, 2007 Report Share Posted March 2, 2007 Ahh. I understand now. No, Macro Express does not support the additional shutdown parameters directly. However, as Cory suggested, you can use the Program Launch command and pass the parameters. Quote Link to comment Share on other sites More sharing options...
iceman Posted March 2, 2007 Author Report Share Posted March 2, 2007 Thanks Kevin and Cory. Kevin, Do you know of any good on-line resources that explain how "All programs, including Macro Express, communicate within Windows via messages."? Thanks. iceman Quote Link to comment Share on other sites More sharing options...
iceman Posted March 2, 2007 Author Report Share Posted March 2, 2007 Do you know if the Macro Express command <SHUTDOWN> sends a message to Windows that forces all applications to close, like the /f command does in shutdown /s /t 30 /f? Thanks. iceman Quote Link to comment Share on other sites More sharing options...
kevin Posted March 2, 2007 Report Share Posted March 2, 2007 Do you know of any good on-line resources that explain how "All programs, including Macro Express, communicate within Windows via messages."?We subscribe to Microsoft Developer Network (MSDN). You can view a lot of the MSDN information online....sends a message to Windows that forces all applications to close, like the /f command does in shutdown /s /t 30 /f?Macro Express simply sends the 'Exit Windows EX' (EWX_SHUTDOWN) API message. Windows is in charge of what happens from that point on. Quote Link to comment Share on other sites More sharing options...
iceman Posted March 5, 2007 Author Report Share Posted March 5, 2007 Thanks a bunch Kevin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.