How to create macro to launch VLC and play music from folder? | Razer Insider
Skip to main content

How to create macro to launch VLC and play music from folder?


Hi there, I'm new to using Razer Synapse, and I'm having trouble creating a macro.

I currently have a Windows shortcut set up to start VLC and play music from a folder while I'm working, but I'd like to accomplish the same function with just one button.

I tried creating a macro with "Run command" with a few variations:
1. run "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe" "J:\\Eno"
2. "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe" "J:\\Eno"
3. "C:\\Users\\matte\\Desktop\\Play Eno.lnk"

The first gives an error message saying run isn't a valid command, the second opens the Eno folder in Explorer, and the last just opens a command line in a new window.

Is there a better way to accomplish what I'm attempting to do here? It's a little frustrating that I can't duplicate something that is very easy to do with a Windows shortcut.
Did this topic help you find an answer to your question?
This topic has been closed for comments

-Mr.Nobody-
likeyoubutme
Hi there, I'm new to using Razer Synapse, and I'm having trouble creating a macro.

I currently have a Windows shortcut set up to start VLC and play music from a folder while I'm working, but I'd like to accomplish the same function with just one button.

I tried creating a macro with "Run command" with a few variations:
1. run "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe" "J:\\Eno"
2. "C:\\Program Files\\VideoLAN\\VLC\\vlc.exe" "J:\\Eno"
3. "C:\\Users\\matte\\Desktop\\Play Eno.lnk"

The first gives an error message saying run isn't a valid command, the second opens the Eno folder in Explorer, and the last just opens a command line in a new window.

Is there a better way to accomplish what I'm attempting to do here? It's a little frustrating that I can't duplicate something that is very easy to do with a Windows shortcut.

Thanks to you everyday i learn something new 😃
Here is what I found: for unknown reasons. The Run command on Synapse won't recognize if the folder has "Space" for the folder name (Razer "space" Synapse) what i did was put a simple name with 1 sentence just "Razer" it will open the folder,
Now back to your case u want to open the program and play the music with one click. what i found is you can add all your music to VLC and just set your macro to open VLC.exe and set another macro to play the music

-Mr.Nobody-

Now back to your case u want to open the program and play the music with one click. what i found is you can add all your music to VLC and just set your macro to open VLC.exe and set another macro to play the music


Thanks, but it still seems strange that Synapse can't run a normal run command here. I would think there would have to be some way around this odd issue besides creating multiple macros.

-Mr.Nobody-

well if you know command to autoplay program u can use it on second "Run Command"
so the first "Run Command" would be ur VLC (with all your playlist)
and the second "Run Command" would be ur autoplay
something like that

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings