Guest sjrixon Posted May 6, 2005 Posted May 6, 2005 Hi all, I am new to all this!! I am trying to open the Windows systems properties box. This normally involves holding the Windows key and pressing break. I tried this Send("{LWINDOWN}") Send("{BREAK}") send("{LWINUP}") If I change the Break to and 'e' it launches explorer fine. I guess it doesn't like break! Cheers, Scott
confidentstrategery Posted May 6, 2005 Posted May 6, 2005 I didn't find {BREAK} in the help file. Alternatively, maybe you can try: Send("{APPSKEY}") Send("r") to open up the context menu and select "Properties".
herewasplato Posted May 6, 2005 Posted May 6, 2005 Run("rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0")If you would like for it to open onto another tab, then have a look at this web site and select a different number at the end of the commandhttp://vbnet.mvps.org/index.html?code/system/controlpnl3.htmSelect "Adding Control Panel Functions to a VB Application: S-Z" and look for System PropertiesHere is some of what is on that site:System Properties (Win9x / WinNT) module: SYSDM.CPL command: Win9x: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0 command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0 result: displays the General property page command: Win9x: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1 result: displays the Device Manager property page command: Win9x: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2 result: displays the Hardware Profiles property page command: Win9x: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3 command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1 result: displays the Performance property page command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2 result: displays the Environment property page command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3 result: displays the Startup/Shutdown property page command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4 result: displays the Hardware Profiles property page command: WinNT: rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5 result: displays the User Profiles property page enjoy......... [size="1"][font="Arial"].[u].[/u][/font][/size]
CyberSlug Posted May 6, 2005 Posted May 6, 2005 It's actually Pause instead of Break; Microsoft's documentation is wrong!And you can use # for the Windows key:Send("#{Pause}") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Guest sjrixon Posted May 9, 2005 Posted May 9, 2005 That is fantastic! What a great set of commands. My script now joins a machine to the domain! Very cool! Thanks again, Scott
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now