<< DiscussionsReply

[REQ] Multiple processes in triggers

1 discussion post
I've struggled to make a single trigger work for multiple specific programs, the reason for which is simply to avoid virtually identical triggers cluttering my DF settings.
I figured I could use the OR operator (||) in between the desired file paths in the input field for Process Filename. At first I tried:
C:\<filepath1>' || 'C:\<filepath2>' || 'C:\<filepath3
since DF adds apostrophes to the first and last index, but it turns out to be completely unnecessary, so I now have:
C:\<filepath1> || C:\<filepath2> || C:\<filepath3
This (these) seemed to work just fine at first, but I soon ran into issues while testing with Firefox and other programs. I've controlled the results with another trigger for Firefox only, and it does indeed work perfectly.
First, I noticed the trigger failed to run at all for any program when I added the file paths for explorer.exe or WindowsTerminal.exe to the list. I figured this was due to some security settings, but I don't want to mess with that. I have tried restarting DF and/or removing the Windows programs, but it only works for the first instance of the window. Adding some delay has also proven futile.
After reading an older thread here, I noticed the trigger ran differently when the programs were launched from either taskbar and from the start menu. The main takeaway is this:
  • Launching from Windows' taskbar works fine, but as soon as I launch from the DF taskbar, any new instances launched from the Windows taskbar appear on top of the previous instance. At one point it even launched correctly on one monitor, only to then immediately move to the other. I also tried to enable/disable the different Window Management settings for child windows, but to no avail.
  • The behaviour is similar for the Start Menu on either monitor, and for permutations of launching from Start Menus and taskbars.
  • It seems like DF isn't actually moving the window to the monitor where the cursor is located. It only moves to the monitor I last clicked, even when right clicking the taskbar icon on the desired monitor.
So ultimately this approach is a failure, but seeing as it almost works, I am slightly annoyed by the results. I'm sure a Scripted Function could very well achieve the desired results, I'm just not very well versed with writing such scripts, and seems like it would be kind of a hassle to edit for each new process you'd like to add or remove.
Since there is no option for using triggers with multiple processes, and I haven't seen any related questions or documentation, I think a functioning feature, like tick boxes in the application selection window, would be a huge QoL improvement for anyone who uses more than one virtually identical triggers for different programs.
May 16, 2021 (modified May 16, 2021)  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hi Kiman,

This is currently on our feature request list, so I've added your vote to it. We'll be sure to let you know if/when we're able to implement it in the future.

May 17, 2021  • #2
Was this helpful?    
<< DiscussionsReply