Macro Buttons open directory

The Virtual Audio Mixer discussions and support...
BangDroid
Posts: 8
Joined: Sun Dec 11, 2016 7:08 pm

Macro Buttons open directory

Postby BangDroid » Fri Aug 31, 2018 8:33 am

I'm having a small issue with using macro buttons to open a specific directory in Windows Explorer.
I have tried the following:
Request for Button ON /Trigger IN:

Code: Select all

System.Execute("%windir%\Windows\explorer.exe", "C:\path\of\directory", "")

This opens explorer but not to the desired path.

Using Windows Run prompt I can open a directory with

Code: Select all

explorer \path\to\directory
So I also tried
Request for Button ON /Trigger IN:

Code: Select all

System.Execute("%windir%\Windows\explorer.exe \path\of\directory", "", "")

but this does not seem to function at all.

Any ideas?

BangDroid
Posts: 8
Joined: Sun Dec 11, 2016 7:08 pm

Re: Macro Buttons open directory

Postby BangDroid » Fri Aug 31, 2018 8:45 am

Ok so I have found this technically works, but with some issues:

Request for Button ON /Trigger IN:

Code: Select all

System.Execute("%windir%\system32\cmd.exe","C:\path\to\directory","/C start .")

Because it opens a cmd prompt, on my system sometimes there is a delay with that, so it is laggy.


Am I missing something obvious?


Return to “Voicemeeter”

Who is online

Users browsing this forum: No registered users and 5 guests