Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Browse into Control Panel?


  • Please log in to reply
2 replies to this topic
scriptor
  • Members
  • 668 posts
  • Last active: Feb 15 2016 01:02 AM
  • Joined: 20 Jun 2013

Hello,

 

I'm looking for a way to browse into the control panel and then further into its subcategories.

 

For example, I'm browsing into Windows 7 automatic update settings. I'm trying to create a shortcut for this. So I browse to the location, which is:

 

Control Panel\System and Security\Windows Update\Change settings

 

but the problem is, it isn't providing hard drive locations ( ie.  C:\,  D:\, or E:\ )

 

I just browse to the 'change settings' window, and then right-click on the Windows Explorer location bar "right click, 'copy').

 

I can't seem to find a way to work this into an AHk script. I've tried "Run, Control Panel\System and Security\Windows Update\Change settings"

 

but so far, no good. Does anyone have some suggestions? Thanks... :)



lblb
  • Members
  • 120 posts
  • Last active: Dec 02 2015 08:05 AM
  • Joined: 22 May 2012

Hi scriptor,

 

There are several different ways to open Control panel items. The script below highlights some of them along with relevant links. Going for a Control panel item like Windows Update is easy, but playing with this I've only found one way to go to something like Windows Update\Change Settings: it's to use the pagename as in the F5 method below. I actually couldn't find a list of pagenames anywhere but, after looking at the examples on the last link for the F5 code, I tried pageSettings and it worked on the first try!

 

Hope this helps!

 

edit. Just found this list of pagenames on a Russian website. That should do the trick for you:

http://backnet.ru/20...li-upravleniya/

#SingleInstance, Force

; https://social.technet.microsoft.com/wiki/contents/articles/4486.accessing-the-control-panel-via-the-commandline.aspx

F1::
; http://www.sevenforums.com/tutorials/20813-windows-update-shortcut-create-windows-7-a.html
; http://msdn.microsoft.com/en-us/library/ee330741(v=vs.85).aspx
run, explorer.exe shell:::{36eef7db-88ad-4e81-ad49-0e313f0c35f8}
Return

F2::
; http://www.sevenforums.com/tutorials/20813-windows-update-shortcut-create-windows-7-a.html
Run, rundll32.exe url.dll FileProtocolHandler wuapp.exe
Return

F3::
Run, wuapp.exe
Return

F4::
; http://pcsupport.about.com/od/tipstricks/a/control-panel-command-line.htm
; http://pcsupport.about.com/od/tipstricks/tp/control-panel-applets-list.htm
; http://msdn.microsoft.com/en-us/library/ee330741(v=vs.85).aspx
; http://msdn.microsoft.com/en-us/library/cc144191(v=VS.85).aspx?ppud=4
Run, control /name Microsoft.WindowsUpdate
Return

F5::
; http://pcsupport.about.com/od/tipstricks/a/control-panel-command-line.htm
; http://pcsupport.about.com/od/tipstricks/tp/control-panel-applets-list.htm
; http://msdn.microsoft.com/en-us/library/ee330741(v=vs.85).aspx
; http://msdn.microsoft.com/en-us/library/cc144191(v=VS.85).aspx?ppud=4
Run, control /name Microsoft.WindowsUpdate /page pageSettings
Return

F6::
; For Win XP
; http://support.microsoft.com/kb/149648
; http://en.wikipedia.org/wiki/Control_Panel_(Windows)
; http://www.devdashnull.com/?p=192
; http://waynestorey.com/blog/2009/06/18/list-of-control-panel-applets-cpl-files/
Run, wuaucpl.cpl
Return


scriptor
  • Members
  • 668 posts
  • Last active: Feb 15 2016 01:02 AM
  • Joined: 20 Jun 2013

hey thanks lblb, works perfect!!