Save up to 50% in our Spring Sale!
Save up to 50% off any of our desktop apps in our Spring Sale, including DisplayFusion,
ClipboardFusion, FileSeek, iTunesFusion, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Bring window to front on timer?

Avatar from Gravatar.com
Frank99
36 discussion posts
Is there a way to bring a window to the front every 15 minutes? I see how to do a timed trigger, and how to use it to run a custom function, but I can't figure out how to select a particular window.
Dec 4, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You'd have to use a Scripted Function for that. Is there only one window for the program? If so, what's the EXE name for the program? I'll write up a sample script
Dec 4, 2018  • #2
Avatar from Gravatar.com
Frank99
36 discussion posts
The program is "ett.exe" and the window title bar says "Macromedia Flash Player 8". Only one window. Thanks!
Dec 5, 2018 (modified Dec 5, 2018)  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, on the Settings > Functions tab, try adding a Scripted Function using this code:

Code



Give it a key combination, apply the settings, then try the key combination, does it come to the front?4

Let me know how that works out. If it works, I'll let you know how to schedule it with a Trigger rule :)

Thanks!
Dec 5, 2018  • #4
Avatar from Gravatar.com
Frank99
36 discussion posts
OK, it works with a key combination. What's next? I tried adding a trigger with a 900 sec timer interval, but it didn't work. Also, is there a way to trigger it for every 15 minutes by the clock (i.e. at 9:15 rather than at 15 minutes past whenever I happen to log on to the computer). Thanks!
Dec 8, 2018 (modified Dec 8, 2018)  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Can you attach a screenshot of the Trigger rule you created?
Dec 10, 2018  • #6
Avatar from Gravatar.com
Frank99
36 discussion posts
Here it is.
• Attachment [protected]: Capture.PNG [34,728 bytes]
Dec 11, 2018  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That looks like it should work. Do you see a tray notification when the Timer Interval fires every 15 minutes, saying that the ETT function is running?
Dec 12, 2018  • #8
Avatar from Gravatar.com
Frank99
36 discussion posts
I probably turned tray notifications off, but I can't find the setting to check again.

Also, can you answer my question about bringing it to front at a specific time rather than just every 15 minutes after I boot? I want to log work at 10, 10:15, etc.
Dec 14, 2018  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry, I missed that part of the question. There isn't a built-in way to schedule specific times. You could use the Windows Task Scheduler to run the function though. You'd create a task that runs DisplayFusionCommand.exe with the -funtionrun argument, like this:

"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -functionrun "scripted function name"

The setting to disable tray notifications is in Settings > Advanced Settings, called "Don't show tray icon notification balloons."
Dec 14, 2018  • #10
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply