Open, show, minimize Windows Apps, Chrome Shortcuts, Chrome Apps

Post your working scripts, libraries and tools for AHK v1.1 and older
JuanmaMenendez
Posts: 8
Joined: 11 Apr 2019, 18:25
Contact:

Open, show, minimize Windows Apps, Chrome Shortcuts, Chrome Apps

11 Apr 2019, 19:05

This AutoHotkey script is to Open, Restore or Minimize (if it is already opened) the desired Window or Chrome Apps, using the shortcuts key (hotkeys) that you want to set.

There are two utility functions for this purpose:

a) Useful for regular Window Apps

Code: Select all

OpenOrShowAppBasedOnExeName(AppAddress)
b) Specially useful for Chrome Apps and Chrome Shortcuts

Code: Select all

OpenOrShowAppBasedOnWindowTitle(WindowTitleWord, AppAddress)
Configuration Examples

Code: Select all

F7:: OpenOrShowAppBasedOnExeName("C:\Windows\System32\SnippingTool.exe")

Code: Select all

F8:: OpenOrShowAppBasedOnWindowTitle("Gmail", "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --app=https mail.google.com /mail/")

Note: The Source Code with the last actualization can be found here https://github.com/JuanmaMenendez/AutoHotkey-script-Open-Show-Apps

Thanks
Last edited by JuanmaMenendez on 30 Apr 2019, 17:18, edited 2 times in total.
User avatar
SL5
Posts: 878
Joined: 12 May 2015, 02:10
Contact:

Re: Open, show, minimize Windows Apps, Google Shortcuts, Google Apps

14 Apr 2019, 06:59

That's quite good for a starter. Compliment. look quite useful your Function
JuanmaMenendez
Posts: 8
Joined: 11 Apr 2019, 18:25
Contact:

Re: Open, show, minimize Windows Apps, Google Shortcuts, Google Apps

30 Apr 2019, 16:53

Thanks @SL5 !

I added to it another functionality ( Alt + ~ ) to switch between open windows of the same App.
It works besides regular Window Apps, with Chrome Shortcuts and Chrome Apps as well.

Mac has very similar functionality with the same hotkey.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: kiwichick and 105 guests