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.
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.
how to create a macro to open a specific folder
how to create a macro to open a specific folder
I can't quite seem to figure out how to create a macro that when triggered will open a specific folder. I know how to create macros to open specific applications, but that does not work to open a specific folder. How do I do that?
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: how to create a macro to open a specific folder
For example, the following Python script you can use to open the folder C:\.Or you can use the following method:Pako
Code: Select all
import subprocess
subprocess.Popen('explorer "C:\"')
Last edited by Pako on Wed Sep 29, 2010 5:58 am, edited 1 time in total.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: how to create a macro to open a specific folder
You're welcome. Here, unfortunately, some people are not able to thank you for the much more difficult work.
Pako
Pako