Processing Ajax...
Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save 25% on our desktop apps during our Black Friday/Cyber Monday sale!

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Wildcards in triggers

User Image
Paul Rourke
5 discussion posts
Is it possible to use wild cards in the command line properties in triggers? I want to set up two triggers one that works on an .mp3 extension and one that works on an mp4 extension, eg:- {--started-from-file "*.mp3"}.
This is to allow VLC to behave differently when opening video or audio files.
13 days ago  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm not sure actually! I will check in with our devs on this and keep you posted.
12 days ago  • #2
User Image
Paul Rourke
5 discussion posts
Thank you. I will await the reply with interest.
10 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I actually had another thought on this. VLC puts the file name in the window title, so you should be able to match on that by putting
.mp4
or
.mp3
in the Window Text field of the Trigger rule.
9 days ago  • #4
User Image
Paul Rourke
5 discussion posts
I tried that but vlc does not show the file extensionfor mp3's. When I copy the window text it looks like this for an mp3 - "herbie williams - lover who loves you not - VLC media player". For mp4 files it does actually display the extension. Like this -"double uni knot.mp4 - VLC media player". I have had a look through vlc's settings but cannot get the extension up for mp3 files. Very odd.
9 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You could do one rule for mp4's that looks for "mp4" in the window text, and with the "Stop processing" checkbox enabled. Then a second rule right after it in the list that just looks for VLC. That way if it's an mp4, it gets moved by the first rule and Trigger processing stops. If it's not an mp4, then it gets moved by the second rule.
5 days ago  • #6
User Image
Paul Rourke
5 discussion posts
This is what am I am already doing as a workaround. I already have several vlc shortcuts/triggers that run security and webcams so I have re-ordered them to make it work as I want. Wildcards would have been easier though!. Thanks for the help.
5 days ago  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, no worries! I have put it on our list for the future, so if we're able to do that, we'll be sure to let you know.

Thanks!
4 days ago  • #8
Was this helpful?  Login to Vote(-)  Login to Vote(-)