Save up to 50% off any of our desktop apps in our 2021 spring sale, including
DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

<< DiscussionsReply

Custom function not working in Triggers but works manually

chaoscreater's profile on WallpaperFusion.com
Hi all,

I've created a custom function that looks like this:

https://imgur.com/0UrO7nQ

The function is added as a titlebar button and it works if I click on it to trigger it manually. However, if I set it to trigger automatically, it just doesn't do anything. The trigger is simply just when an app is launched, then run the function. I'm also using a built in "maximize window" function and that works fine. It's just the custom function that I've created that doesn't run automatically.

https://imgur.com/R0YJW8c
May 24, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's really strange! Everything looks like it's configured correctly. If you try to use that custom function in a Trigger for a different application, does it work?
May 26, 2020  • #2
chaoscreater's profile on WallpaperFusion.com
It doesn't work for other apps either.
May 27, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, strange! Could you send me a debug log?

  • On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Open the app that's configured in the Trigger rule and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Thanks!
May 27, 2020  • #4
chaoscreater's profile on WallpaperFusion.com
Here you go.
• Attachment [protected]: DisplayFusionDebugInfo.zip [51,342 bytes]
Jun 1, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! The log isn't showing that the Trigger fired at all. Which app did you open for this debug log?
Jun 1, 2020  • #6
chaoscreater's profile on WallpaperFusion.com
Sorry, have uploaded new log. The app is Devolutions RDM and the custom function is called "Work RDP'.
• Attachment [protected]: DisplayFusionDebugInfo.zip [51,342 bytes]
Jun 1, 2020  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm still not seeing anything related to Devolutions RDM in the log. Are you restoring it from the system tray, or launching it fresh?
Jun 2, 2020  • #8
chaoscreater's profile on WallpaperFusion.com
I enabled logging as per your instructions.

I then opened Devolutions RDM and took an export of the log.

You can do a test by downloading Devolutions RDM (there's a free version).

https://imgur.com/vrElbqw
Jun 2, 2020  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, but did you open RDM using the system tray icon, or launching it from the Start menu/desktop?
Jun 2, 2020  • #10
chaoscreater's profile on WallpaperFusion.com
I launched it from the start menu.

It's all good, I've got it sorted now. The issue was the wait time was set to 10000 ms (10 seconds) instead of 1 second. I've also modified the trigger to fire when the Windows Text matches the keyword I specified.
Jun 2, 2020  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah! I totally missed that extra 0 in your screenshot, good catch! Glad to hear you were able to get it sorted out
Jun 2, 2020  • #12
Was this helpful?    
<< DiscussionsReply