Is it possible to tell if a program was launched by a Hotkey/Shell Key/whatever it's called rather than from the Start Menu or from File Explorer, and make it act differently?
Can you tell if a program was launched by a Hotkey?
You can make the hotkey link pass a command line variable that the main windows function picks up and then check for this variable to see how the program was launched.