Skip to content

Instantly share code, notes, and snippets.

View hubisan's full-sized avatar

Daniel Hubmann hubisan

  • Bern, Switzerland
View GitHub Profile
@hubisan
hubisan / README.md
Last active March 26, 2024 16:25
AHK Open Chrome with Profile #ahk

AHK Open Chrome with Profile

This Autohotkey function lets you open or activate Chrome with a specific profile. In addition in returns its hwnd (ahk_id).

Examples

You might have to adapt chrome_path inside the function.

  • Activate Chrome with profile "Profile 1":
@hubisan
hubisan / recentBlacklist.txt
Created May 4, 2020 21:44
Blacklist for recent shortcuts for ShortcutLauncher #ahk
ms-screensketchedit&source=Toast&isTemporary=true&sharedAccessToken
customDestinations-ms
@hubisan
hubisan / remap-caps-to-ctrl.ahk
Last active May 4, 2020 09:50
Remap Capslock to Ctrl with Autohotkey #ahk
; 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