This Autohotkey function lets you open or activate Chrome with a specific profile. In addition in returns its hwnd (ahk_id).
You might have to adapt
chrome_path
inside the function.
- Activate Chrome with profile "Profile 1":
ms-screensketchedit&source=Toast&isTemporary=true&sharedAccessToken | |
customDestinations-ms |
; Remap Capslock to Ctrl and then bind Win + Capslock to Capslock. | |
; URL: https://gist.github.com/hubisan/7b3de2780cb5ac88b7d0823badd05d32 | |
#NoEnv | |
#SingleInstance force | |
; Change the icon used in the tray to a blueish arrow. | |
EnvGet, SystemRootDir, SystemRoot | |
IcoFile := SystemRootDir . "\system32\imageres.dll" | |
Menu, Tray, Icon, %IcoFile%, 281 |