Making ObjectDock Open Specific Control Panel Items

Hey, I'm using StarDock ObjectDock on Windows 7. I've done a little bit of research and it seems to open a specific control panel item (lets say Windows Update) Windows lets you use the following link to access it....  c:\windows\system32\control.exe /name Microsoft.WindowsUpdate

 

If I click "Run" on Windows and type that in and execute it, sure enough it brings me to the Windows Update application.

 

So knowing this I've tried creating a shortcut in a tabbed dock within ObjectDock. I've tried this and so many other sequences and I can't get it to work. What I can do is under the shortcut I can type c:\windows\system32\control.exe and that will open up Control Panel, but I can't access the specific items within control panel it seems.

 

Before I gave up I tried one thing that did work. I opened up notepad and typed in c:\windows\system32\control.exe /name Microsoft.WindowsUpdate and saved this text as a bat file (.bat) and when I created a shortcut in the tabbed dock, I just pointed the link to this bat file, and bingo it worked. But I'm still wondering how I can do it without pointing to the bat file?

 

Can I create a string of text within the tab dock's shortcut to make it work?

4,868 views 7 replies
Reply #1 Top

Hey JBstud as you discovered that OD supports the bats files check my batterflies "multiple shortcuts launcher"

hope you like it ! ;)

 

Reply #2 Top

The '/name Microsoft.WindowsUpdate" section needs to go in the arguments field on the shortcut properties.  Just tried it and seems to work for me.

Reply #3 Top

Niiiice! Thanks so much Shirley! Shirley/surely that's how its supposed to be done. ;) :D

 

btw, the winking smiley face on this forum looks like a handicapped smiley. lol. Nothing wrong with handicaps, but I've never seen a smiley that butchered before!

Reply #4 Top

Hi folks!

Sory for butting in, but I liked the idea of running .bat files as frankell explains, but I cannot get them to start "system restore" from the dock?

Can someone tell me why this is?

 

bookie56

Reply #5 Top

Hi bookie56

check my 2008 utility icon "System Restore Point Dialog icons"

or like I discovered some time later:

right click on the desktop and create a new text file, open the new document text > copy a paste the following lines:

....................................................................................................................

If GetOS = "Windows XP" Then
    CreateSRP
End If

If GetOS = "Windows Vista" Or GetOS = "Windows 7" Then
    If WScript.Arguments.length =0 Then
          Set objShell = CreateObject("Shell.Application")
        objShell.ShellExecute "wscript.exe", """" & _
            WScript.ScriptFullName & """" & " uac","", "runas", 1
    Else
          CreateSRP
      End If
End If

Sub CreateSRP
    Set SRP = getobject("winmgmts:\\.\root\default:Systemrestore")
    sDesc = "Manual Restore Point"
    sDesc = InputBox ("Enter a description.", "System Restore script : winhelponline.com","Manual Restore Point")
    If Trim(sDesc) <> "" Then
        sOut = SRP.createrestorepoint (sDesc, 0, 100)
        If sOut <> 0 Then
             WScript.echo "Error " & sOut & _
               ": Unable to create Restore Point."
        End If
    End If
End Sub

Function GetOS   
    Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
        ".\root\cimv2")
    Set colOS = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
    For Each objOS in colOShe
        If instr(objOS.Caption, "Windows 7") Then
            GetOS = "Windows 7"   
        ElseIf instr(objOS.Caption, "Vista") Then
            GetOS = "Windows Vista"
        elseIf instr(objOS.Caption, "Windows XP") Then
              GetOS = "Windows XP"
        End If
    Next
End Function

.............................................................................................................................................

rename: new text document. text > my system restore point .vbs

move the file in the place where to keep it definitely create a shortcut dragging it on the dock in the end change the icon as you like

let me know ! ;)

 

Reply #6 Top

1. Inn W7 open control panel sect item you want select right click/make shortcut (this will place it on you desktop.

2. then drag the short cut to you object dock or tabbed dock

I just tried the above steps and put windows fire wall on my object dock and my tabbed dock everything works just fine using this method

 

The one Caveat i found with this method is you must keep the shortcut on the desktop also.

 Which is no problem for me since i use fences and can hide it.

Another method I just expiermented with was

Open control panel select item you want right click create short cut this creates a shortcut to desktop.

I then created a folder in the C: drive called CP Shortcuts name and location of the folder is your option

I then dragged all the control panel short cuts from the desktop I wanted to the folder I created on the c drive or drive /and location of your choice

I then dragged the shortcuts I would or could use daily to the object dock of my choice, in my case it was a tabbed dock entry called Control panel it contains the Contol panel items I might use on a daily basis.

 

Reply #7 Top

the shortcut to backup and restore is            sdclt.exe

some of the cp items are exe some are cpls'.

 

for cpl's just create a plain shortcut

in the LINK field put:   c:\windows\system32\control.exe

in the argument field , put the cpl, like   mmsys.cpl       for sounds.

 

google will tell you all the cpl's.

 

you don't need any other shortcuts.

 

for the exe's just create a simple shortcut and put the exe in the link field, like sdclt.exe   for backup restore

or   wuapp.exe  for the installed programs utility for example.