Title

Message

Confirm

<< DiscussionsReply

Opening program when game is launched

Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
Hello!
Ive been playing around with triggers trying to get this to work.
ideally I would like chrome (or whatever browser really) to open up to a url on my 3rd display and full screen whenever i open a certain game. when i close the game, i want this browser window closed.
So far i have been able to make a function that opens chrome on my 3rd display and go to the URL i need, but i cant get fullscreen working and i dont know how to close it automatically.

any suggestions would be appreciated!
Aug 18, 2020  • #1
Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
Eventually got this working using Edge in kiosk mode and creating a .bat file that uses killtask.

Any chance we could get a close program trigger feature?
Aug 19, 2020  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Glad to hear you found a solution! For the close program thing, do you want a Trigger action that closes a window, or a Trigger event that fires when a window closes?
Aug 21, 2020  • #3
Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
Looking for a trigger that can close a window.

in my example : when i close my game, it automatically closes the window i made when i started the game.
Aug 21, 2020  • #4
Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
I think a good place to put what I'm looking for is when creating a new function.
Under Function Action there is "Launch Application". There should be an easy way to setup a trigger to close that application after you're done with it.
Aug 21, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, this would be possible with a scripted function. What's the window title for the window you want to close? I can send over a sample scripted function that would do this.
Aug 22, 2020  • #6
Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
It shows up as "127.0.0.1:8111 - Personal - Microsoft​ Edge"
Aug 23, 2020  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, try importing the attached scripted function on the Settings > Functions tab. Then create a Trigger rule with the "Process ended" trigger event selected, and have it run that function.

Hope that helps!
Aug 24, 2020  • #8
Avatar from Gravatar.com
Mike Harrington27710
8 discussion posts
Thanks a lot for the help!

Playing War thunder here.
Whenever I launch the game it opens up the extra minimap on my extra monitor as full screen. When game closes it also closes extra minimap.
Super cool and helpful!
Aug 27, 2020  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it!
Aug 28, 2020  • #10
Was this helpful?    
<< DiscussionsReply