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
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