Skip to content

Instantly share code, notes, and snippets.

View yanakey's full-sized avatar
💭
I may be slow to respond.

Yana Key yanakey

💭
I may be slow to respond.
View GitHub Profile
@Robert-Beier
Robert-Beier / outdated_umlaute_and_eszett.ahk
Last active August 2, 2023 09:45
(outdated) Script for AutoHotkey to write german umlaute(ä, ö, ü) and eszett (ß) on US Keyboard on Windows like on MacOS
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
!u::Return ; umlaut
!s::SendInput % "ß"
*u::umlaut("u","ü","Ü")
*a::umlaut("a","ä","Ä")
@christianrondeau
christianrondeau / AutoKeyboardLayout.ahk
Last active May 11, 2023 19:50
Automatic keyboard layout change on window focus using AutoHotkey
; How to use:
; 1. Install AuthotKey: https://www.autohotkey.com
; 2. Save this script in `My Documents`
; 3. Create a shortcut in the Startup folder (`Win`+`R`, `shell:startup`)
; 4. Change the configurations below
; 5. Start and test the script!
; Configuration
; Cultures can be fetched from here: https://msdn.microsoft.com/en-us/library/windows/desktop/dd318693(v=vs.85).aspx