Valkirie / HandheldCompanion

ControllerService
Other
1.14k stars 89 forks source link

Add Ability to Open/Maximize Programs with Hotkeys #536

Closed TheDoomCider closed 1 month ago

TheDoomCider commented 1 year ago

I love Handheld Companion but I find the hotkey feature a bit limiting. Would you be able to add the ability to open/maximize programs like steam, epic, playnite, etc using a hotkey?

CasperH2O commented 1 year ago

Hello @TheDoomCider , there is a hotkey to Maximize a window, you can find it in the main GUI, hotkeys. It will require you configure it or pin and use it through QuickTools.

TheDoomCider commented 1 year ago

Thanks but what I meant was, I'd love to see a hotkey that can open Steam (for example) and if it is minimized/running in the background rather than opening it again, show it on screen. Much like what ayaspace or Asus's asus armoury crate does with their built in launchers.

rodrigoqueiroz commented 1 year ago

As a workaround, you can create a Windows keyboard shortcut to your launcher or any other app (go to app, right click > properties > shortcut key). Then you can assign the hotkey to the same keyboard shortcut key. But it would be great to have app hotkeys directly from the interface too.

CasperH2O commented 1 year ago

Thanks but what I meant was, I'd love to see a hotkey that can open Steam (for example) and if it is minimized/running in the background rather than opening it again, show it on screen. Much like what ayaspace or Asus's asus armoury crate does with their built in launchers.

I don't fully understand, do you mean to have a hotkey and when pressed it will minimize the current active foreground process (usually a game), remember which one it was and then the user does whatever the user needs to do in Windows, then press that same hotkey again and it will have remembered which process to maximize again?

I quite like that, I could see myself use that.

TheDoomCider commented 1 year ago

Not quite. I just want the ability to open a launcher like Steam using a hotkey.

electronicrice commented 1 year ago

Thanks but what I meant was, I'd love to see a hotkey that can open Steam (for example) and if it is minimized/running in the background rather than opening it again, show it on screen. Much like what ayaspace or Asus's asus armoury crate does with their built in launchers.

I don't fully understand, do you mean to have a hotkey and when pressed it will minimize the current active foreground process (usually a game), remember which one it was and then the user does whatever the user needs to do in Windows, then press that same hotkey again and it will have remembered which process to maximize again?

I quite like that, I could see myself use that.

A combination of this functionality you just described, with the ability to map a custom hotkey to an application executable for opening.

For example: in Custom Hotkeys, there'd be a 3rd option "Define application exe path". You put the path to the application, and you can also assign a button trigger like normal. When you press the button trigger, (or in my case I'd just pin it to Quick Tools), the application is launched. From there on, Quick Tools, or the button trigger, could remember the specific process launched and minimize/maximize as necessary.

CasperH2O commented 1 year ago

@electronicrice if I'm interpreting what you want correctly, it sounds more like you want a QuickTools page with an app/game launcher. Something like HCP has?

image

In general I like the idea of being able to open an app with a hotkey, either starting it, if it's already running, make it the focus window/maximize it.

TheDoomCider commented 1 year ago

Ooh, I like it! That would work for me!

CasperH2O commented 1 month ago

Current HC has a Quick Start feature, upcoming release will feature hotkeys to open apps:

image

image

But not the minimize, maximize feature.

TheDoomCider commented 1 month ago

Oooh, ok that is really awesome! Thanks! Once that feature is released, I will close this.