Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Playnite General execute command on closing fullscreen playnite?

execute command on closing fullscreen playnite?
Giodude
Offline

#1
08-19-2021, 04:50 AM (This post was last modified: 08-19-2021, 05:48 AM by Giodude.)
Hi, so i made a custom batch file that closes desktop playnite and launches it in fullscreen with my monitor in 60hz mode. This is because I use playnite for game streaming, and running games above 60fps causes stutter. Issue is I want my refresh rate to go back to 144hz when I exit playnite, is there a way to script this so I don't have to keep executing the script manually? Thanks!
Crow
Offline

Administrator
#2
08-19-2021, 06:18 AM
Just wait for Playnite process to exit in your script since you are already starting it and then change refresh rate back. Or create extension and run code on OnApplicationStopped event. https://playnite.link/docs/tutorials/ext...abs=csharp
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode