That’s a helpful clarification—“If in Desktop” can indeed refer to different scenarios, and it’s important to distinguish between actively interacting with desktop shortcuts (handled under “Program Manager”) versus simply having your game or app out of focus, which currently isn’t supported. Setting up clear scene-switching rules in your settings.txt ensures smoother transitions and avoids confusion."If in Desktop" could mean several things. If you mean actually interacting with the shortcuts on your desktop and moving them around and so on, then the name of this application window should be "Program Manager". So if you want to switch to a scene named "Desktop Scene" when you are interacting with your Desktop, you would add the following line in the settings.txt file:
Program Manager, Desktop Scene
If you mean by "If in Desktop", that the Game (application?) is just not in focus, then no that is not possible at the moment. But you could just add a line saying to switch to a scene whenever you switch your other applications.