AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Show control panel
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
thinkstorm



Joined: 17 Aug 2004
Posts: 18

PostPosted: Tue Aug 17, 2004 7:19 pm    Post subject: Show control panel Reply with quote

very easy. TC

Code:

#s:: Run, control
Back to top
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Tue Aug 17, 2004 9:37 pm    Post subject: Reply with quote

WOW! great script Idea
_________________
Back to top
View user's profile Send private message
savage



Joined: 02 Jul 2004
Posts: 206

PostPosted: Wed Aug 18, 2004 1:10 am    Post subject: Reply with quote

Huh! I never knew you could do that. Neato.
Back to top
View user's profile Send private message AIM Address
Tekl
Guest





PostPosted: Wed Sep 01, 2004 9:23 pm    Post subject: Reply with quote

An what should I use for "my computer" oder "network neighbourhood"?

Tekl
Back to top
Jon



Joined: 28 Apr 2004
Posts: 373

PostPosted: Thu Sep 02, 2004 12:19 am    Post subject: Reply with quote

To run My computer, you can use-

run, explorer /select`, c:\

or

send, #e

edit:
added escape character


Last edited by Jon on Thu Sep 02, 2004 1:00 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Candle



Joined: 19 Aug 2004
Posts: 334

PostPosted: Thu Sep 02, 2004 12:50 am    Post subject: Reply with quote

http://www.dx21.com/SCRIPTING/RUNDLL32/REFGUIDE.ASP?ISF=0&P=A
Back to top
View user's profile Send private message
Tekl
Guest





PostPosted: Thu Sep 02, 2004 11:24 am    Post subject: Reply with quote

Hi,

thanks for the answers, but I also want to show up "My Computer" where I get the Listing of all Drives etc.

Tekl
Back to top
Jon



Joined: 28 Apr 2004
Posts: 373

PostPosted: Thu Sep 02, 2004 12:57 pm    Post subject: Reply with quote

You mean like this?

run, explorer.exe /e`, /select`, c:\

edit:
sorry, forgot an escape character in my first post
Back to top
View user's profile Send private message Send e-mail
Sandeep
Guest





PostPosted: Thu Sep 30, 2004 9:51 am    Post subject: Run any applet(As MS calls it) within Control Panel Reply with quote

You can extend this even further by appending the name of the applet file so that it directly open whatever applets you wish. For example,

Code:
^!a::Run, control appwiz.cpl ;For Add/Remove programs

You can go on and search for all the .cpl files in Windows\System32 folder and see what is your frequently used control panel applet.
One of my favourites is timedate.cpl which opens "Date and Time Properties".
Back to top
RazorM



Joined: 28 Oct 2004
Posts: 10

PostPosted: Tue Nov 23, 2004 3:12 am    Post subject: Good tip... Reply with quote

Now does anyone know what's a quick way to get it to go to a certain tab?

Eg. Display Properties > Settings Tab??
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Nov 23, 2004 3:32 am    Post subject: Reply with quote

If you need a shortcut to some specific tab of any control panel item, the shortcut should go to C:\Windows\Control.exe, or just enter "control" (space), then the name of the .cpl file (comma), name of the control panel item (in your language version, comma), number of the tab you want (front one = 0). For instance, for the listing of your hardware, try this:
control Sysdm.cpl,System,1
Also, there's a couple of items controlled by just one .cpl, main.cpl. For these, make it say:

control main.cpl @X

Replace the @X with:

* @0 for the mouse properties item;
* @1 for the keyboard properties item;
* @2 for the printers item;
* @3 for the fonts item.
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Nov 23, 2004 3:33 am    Post subject: Reply with quote

Oh btw, check out this page.
Back to top
View user's profile Send private message
RazorM



Joined: 28 Oct 2004
Posts: 10

PostPosted: Tue Nov 23, 2004 4:27 am    Post subject: Reply with quote

Tried this from command line & worked perfectly...as long as System Properties is not already open....

control Sysdm.cpl,System,1

...but this would not work from AutoHotKey?

#s:: Run, control Sysdm.cpl,System,1 nor
#s:: Run, control Sysdm.cpl, System, 1

Although this did:

#s:: Run, control Sysdm.cpl
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Nov 23, 2004 4:35 am    Post subject: Reply with quote

That's because the comma is the parameter delimiter in AutoHotkey, as well as for that particular command. Sorry, that text was cut-and-paste. Try escaping them.
Back to top
View user's profile Send private message
RazorM



Joined: 28 Oct 2004
Posts: 10

PostPosted: Tue Nov 23, 2004 9:23 am    Post subject: Escaping them? Reply with quote

Hi Johnny,

Not sure what you mean by escaping them?

Tried this...but no go....

#s:: Run, control Sysdm.cpl System 1

Isn't there also a way to use the Control function to do this also?

Control, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]

It seems like something to use in combo w/ the "Window Spy" but I haven't quite figured it out yet....eg. how can i make autoHotKey "push" a button in a window? or select a value in a ValueList?

The Help example isn't helping me decipher it, so anyone has other examples/links, that would be helpful thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group