User Tools

Site Tools


My AutoHotKey script

I've been using AutoHotKey for a long time. Both at work and at home (with some differences), loaded on Windows startup.

My private AutoHotKey script looks like this:

#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.
#SingleInstance force
; AltGr 4 ist öffnendes, AltGr 5 ist schließendes Anführungszeichen
<^>!4::Send<^>!5::Send<^>!2::Send<^>!3::Send<^>!+6::Send<^>!+7::Send<^>!+8::Send<^>!+9::Send ’
; AltGr - ist Halbgeviertstrich
<^>!-::Send –
<^>!.::Send …
<^>!a::Send ä
<^>!o::Send ö
<^>!u::Send ü
<^>!s::Send ß
<^>!+a::Send A
<^>!+o::Send Ö
<^>!+u::Send Ü
;für Pollen
<^>!l::Send ◊
;CapsLock fungiert als weitere Ctrl-Taste
<^>!t::Winset, Alwaysontop, TOGGLE, A
FormatTime, zeit, , HH:mm
zeit := zeit . " Uhr "
Send %zeit%
FormatTime, datum, , yyyy-MM-dd
Send %datum% `
; Unicode-Zeichen
InputBox,u,Unicode-Zeichen,Codepunkt (Hex),Bitte geben Sie den Codepunkt ein.,,,,,,,
if not ErrorLevel
u := "U+" . u
  Send {%u%}
my-autohotkey-script.txt · Last modified: 2018-08-13 18:42 by Thomas Hühn