I have two monitors connected to my pc and the right one I use to play but when I'm playing z.b fortnite then I want my left screen automatically to standart and not the right because if I open synonymous programs start from the left screen not
See, e.g. https://www.computerbase.de/forum/threads/batch-zum-umschalten-zwischen-primaeren-und-sekundaeren-bildschirm.799806/
This tool can also be used via command line: http://www.nirsoft.net/utils/multi_monitor_tool.html
Then just write a batch script that makes the monitor setting and starts the game, and then resets it.