Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Run control panel items

If you have a question or need help, this is the place to be.
Post Reply
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Run control panel items

Post by blaher »

I'm trying to run an unusual shortcut, if you make a new folder and name it: All Settings.{ED7BA470-8E54-465E-825C-99712043E01C} it'll jump directly to all the control panel items. You can then create shortcuts to each item on your desktop, but how can I run those shortcuts in EG? The normal start application gives an error.

Thanks.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Run control panel items

Post by Pako »

blaher wrote:... but how can I run those shortcuts in EG? The normal start application gives an error.
For example, the following manner:

Code: Select all

import os
os.startfile("C:\Users\<USER>\Desktop\All Settings.{ED7BA470-8E54-465E-825C-99712043E01C}")
Pako
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Run control panel items

Post by blaher »

Thanks a lot, that Python script works well to bring up all control panel options, but is there a way to run the shortcuts created from that page? It's a bit weird...

Eg. to get to this page:
Control Panel\All Control Panel Items\Ease of Access Center\Make the keyboard easier to use

this is what the shortcut looks like:
Attachments
Capture.PNG
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Run control panel items

Post by Pako »

blaher wrote:Thanks a lot, that Python script works well to bring up all control panel options, but is there a way to run the shortcuts created from that page?
This is exactly the same.
1. Create a shortcut
2. Shift + Right click and "Copy as path"
3. Paste the clipboard contents between brackets in the expression "os.startfile()"

Pako
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Run control panel items

Post by blaher »

Thanks very much again. That shift right click is a great trick. I couldn't see how to copy the shortcut path without it.
Works well now. :)
Post Reply