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 

Open Vista Control Panel

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
dandersahn



Joined: 06 Oct 2008
Posts: 13

PostPosted: Mon Feb 02, 2009 3:24 pm    Post subject: Open Vista Control Panel Reply with quote

Does anyone know how to open the Vista "all control panel items" view via an AHK command? When "control.exe" is run through AHK, the vast majority of the control panel items are missing. It appears to be a UAC thing. Opening specific items works fine, but the all items view doesn't.
Back to top
View user's profile Send private message
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Mon Feb 02, 2009 7:52 pm    Post subject: Reply with quote

Is this on the right track?

http://www.howtogeek.com/howto/windows-vista/new-vista-syntax-for-opening-control-panel-items-from-the-command-line/
_________________
~BigVent
Back to top
View user's profile Send private message
dandersahn



Joined: 06 Oct 2008
Posts: 13

PostPosted: Mon Feb 02, 2009 7:59 pm    Post subject: Reply with quote

Yes and no. I have actually employed a number of those commands individually, but what I'm trying to do is open the window displaying *all* of those control panel items. The bizarre thing is that if I specify any of those specific items, it opens just fine, but if I use "control" with no argument for a specific control panel, only non-Microsoft control panels are shown. It's definitely a UAC thing. If I open a command prompt and type "control", I have the same problem, but if I open a command prompt as admin and type "control" I see everything. Seems wrong to me that I can open individual panels w/o admin rights, but I can't list them. Hope that makes sense.
Back to top
View user's profile Send private message
dandersahn



Joined: 06 Oct 2008
Posts: 13

PostPosted: Mon Feb 02, 2009 8:14 pm    Post subject: Reply with quote

Finally figured it out. I used the "copy address" function in the address bar, then created a new shortcut and pasted the address into the location field. The new shortcut doesn't work, but the text that gets pasted into the address field contains the explorer special folder location. Using that I created the following command:

%windir%\explorer.exe ::{26EE0668-A00A-44D7-9371-BEB064C98683}\0

The interesting thing I found by chance is that the pasted address shows up differently when pasted into the new shortcut dialog than it does when pasted into a text editor.
Back to top
View user's profile Send private message
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Mon Feb 02, 2009 8:55 pm    Post subject: Reply with quote

Very nice find! Thanks for sharing!
_________________
~BigVent
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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