Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Symmetry
19 discussion posts
Hi
Slowly getting the hang of DisplayFusion (loving it, by the way), and was hoping someone could explain to me how to do something.
I would like to shut down a particular program when the monitor profile is changed from 3 monitors to 2.
I'm guessing i use Triggers? Or Functions? Or both? Or neither?
Would appreciate even a rough guide :)
Thanks
Nov 1, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You'd need to use a combination of a Trigger rule and a Scripted Function to do this. Could you send me the window title of the program you want to close?
Nov 1, 2019  • #2
User Image
Symmetry
19 discussion posts
Sure
The name of the program is called SongBook.
The name of the window is 'document title - LinkeSoft SongBook'
The path for the exe is C:\Program Files (x86)\LinkeSOFT\SongBook\SongBook.exe
Is that what you're chasing?
Nov 2, 2019  • #3
User Image
Symmetry
19 discussion posts
Hi there! Any luck?
Nov 4, 2019  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, try this out:

  • Save the attached file, and import it on the Settings > Functions tab with Scripted Function > Import Scripted
  • Apply the settings
  • On the Triggers tab, add a new Trigger rule
  • Choose "Monitor Profile Changed" as the Trigger Event
  • Choose the 2 monitor profile as the Monitor Profile in the Match Conditions section
  • Click Add > Run Function, and choose the "Close SongBook" function
  • Apply the Settings and try it out

Hope that helps!
• Attachment: Close SongBook.dfscript [492 bytes]
Nov 4, 2019  • #5
User Image
Symmetry
19 discussion posts
Kieth my friend, you are a genius :)
Works perfectly, thank you.
Nov 6, 2019  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Glad to hear it!
Nov 7, 2019  • #7
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)