Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Playnite Support and Troubleshooting Start & Stop Script

Start & Stop Script
Mondriaan
Offline

#1
11-26-2020, 06:42 PM (This post was last modified: 11-26-2020, 06:46 PM by Mondriaan.)
I want to start a OpenOffice worksheet with some keyboard keys displayed, i do this with,

Start-Process "E:\Storage\Imagebestanden\Spellen\Y\Gamename.ods"

Then i start the game and both steps run perfect but when i stop the game and use the script to close the OpenOffice worksheet with,

Stop-Process -Name "Gamename.ods"

I have set playnite in administrator mode.

i was able to use it on the actual soffice (OpenOffice execute) but i was not able to stop the actual spreadsheet, it stays open and when i use the GameName.ods Playnite cannot find the process. The first command where i start the .ods spreadsheet executes soffice so i think i have to extend the soffice stop command with something like "stop all open files" but i will search further, maybe you can try it and share your info.


I am very happy that Playnite can execute the worksheet, that is what i really wanted so thats perfect but can you give a solution to close it?

Thank You
« Next Oldest | Next Newest »



Messages In This Thread
Start & Stop Script - by Mondriaan - 11-26-2020, 06:42 PM
RE: Start & Stop Script - by joyrider3774 - 11-26-2020, 07:00 PM
RE: Start & Stop Script - by Mondriaan - 11-26-2020, 07:18 PM
RE: Start & Stop Script - by Crow - 11-26-2020, 08:39 PM
RE: Start & Stop Script - by Mondriaan - 11-26-2020, 09:38 PM
RE: Start & Stop Script - by joyrider3774 - 11-26-2020, 11:30 PM
RE: Start & Stop Script - by Mondriaan - 01-10-2021, 11:29 PM

  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode