UnityLauncherPro icon indicating copy to clipboard operation
UnityLauncherPro copied to clipboard

restore minimized tray application, if run application again

Open unitycoder opened this issue 3 years ago • 2 comments

and allow single instance setting is enabled.

probably something like: https://www.codeproject.com/Articles/32908/C-Single-Instance-App-With-the-Ability-To-Restore

*pipe could be then used to send messages when opening project in explorer, to add that project in the list (or use existing process to open that folder, so then it gets added to list automatically)

unitycoder avatar Mar 07 '22 14:03 unitycoder

now i remember why i gave up on this last time, none of the "easy" methods work (due to application being minimized to tray) so it really needs some ICP/Pipes system to wake up minimized tray app..

  • nope https://stackoverflow.com/questions/32830343/make-minimized-system-tray-application-gui-visible-from-c-sharp
  • nope https://stackoverflow.com/questions/9099479/restore-a-minimized-window-of-another-application
  • nope https://stackoverflow.com/questions/10529370/restore-application-from-system-tray-when-clicking-on-desktop-shortcut
  • nope https://stackoverflow.com/questions/10529370/restore-application-from-system-tray-when-clicking-on-desktop-shortcut
  • nope https://stackoverflow.com/questions/4592852/restoring-window-from-the-system-tray-when-allowing-only-one-instance-of-that-pr
  • nope https://stackoverflow.com/questions/19147/what-is-the-correct-way-to-create-a-single-instance-wpf-application
  • nope https://stackoverflow.com/questions/14678613/restore-program-from-system-tray-clicking-shortcuts-in-desktop-in-c-sharp

unitycoder avatar Mar 08 '22 14:03 unitycoder

maybe openai solved this: image

unitycoder avatar Dec 01 '22 08:12 unitycoder