# colemak.zakarls.com — portable Colemak remap installer. # # Usage on a foreign Windows machine (no admin needed): # irm colemak.zakarls.com | iex # # Lands two files under %TEMP%\colemak-zakarls and launches the AutoHotkey # runtime against the remap script. Session-only; nothing persists past # reboot. Press Pause/Break to suspend. Kill with: # taskkill /im AutoHotkeyU64.exe /f $ErrorActionPreference = 'Stop' $base = 'https://colemak.zakarls.com' $dst = Join-Path $env:TEMP 'colemak-zakarls' New-Item -ItemType Directory -Force -Path $dst | Out-Null $exe = Join-Path $dst 'AutoHotkeyU64.exe' $ahk = Join-Path $dst 'colemak.ahk' Invoke-WebRequest "$base/AutoHotkeyU64.exe" -OutFile $exe -UseBasicParsing Invoke-WebRequest "$base/colemak.ahk" -OutFile $ahk -UseBasicParsing Start-Process -FilePath $exe -ArgumentList "`"$ahk`"" -WindowStyle Hidden Write-Host '' Write-Host ' Colemak remap active.' -ForegroundColor Green Write-Host ' Pause/Break - toggle suspend' Write-Host ' taskkill /im AutoHotkeyU64.exe /f - stop' Write-Host ''