ahka

Assorted ease-of-use and functionality tools using AutoHotkey.
Log | Files | Refs

commit bbfa0900799f838ef934f08ad682e3985115a571
parent 7d83e751a5072b90a2d47b61bb85909344d966d5
Author: breadcat <peter@minskio.co.uk>
Date:   Mon,  8 Jun 2015 01:07:05 +0100

Improved hotstrings

Hotstrings now fire mid-word, added Norwegian support and mostly-fixed
how é is entered.

Diffstat:
Mahk-assistant.ahk | 64+++++++++++++++++++++++++++++++++++-----------------------------
Mfunctions.ahk | 10----------
2 files changed, 35 insertions(+), 39 deletions(-)

diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk @@ -123,38 +123,44 @@ Insert::appendClipboard() Return ;swedish -:c*:(Ao)::Å -:c*:(ao)::å -:c*:(Ai)::Ä -:c*:(ai)::ä -:c*:(Oi)::Ö -:c*:(oi)::ö +:c*?:(Ao)::Å +:c*?:(ao)::å +:c*?:(Ai)::Ä +:c*?:(ai)::ä +:c*?:(Oi)::Ö +:c*?:(oi)::ö +;norwegian +:c*?:(AE)::Æ +:c*?:(ae)::æ +:c*?:(O/)::Ø +:c*?:(o/)::ø ;german -:c*:(Ui)::Ü -:c*:(ui)::ü -:*:(ss)::ß +:c*?:(Ui)::Ü +:c*?:(ui)::ü +:*?:(ss)::ß ;spanish -:c*:(Ny)::Ñ -:c*:(ny)::ñ -:c*:(A-)::Á -:c*:(a-)::á -:c*:(E-)::É -; :c*:(e-)::é ;conflicts with C-A-e insert which is annoying -Ralt & e::typeAcuteE() ;awful, awful workaround -:c*:(I-)::Í -:c*:(i-)::í -:c*:(O-)::Ó -:c*:(o-)::ó -:c*:(U-)::Ú -:c*:(u-)::ú -:*:(!!)::¡ -:*:(??)::¿ +:c?*:(Ny)::Ñ +:c?*:(ny)::ñ +:c?*:(A-)::Á +:c?*:(a-)::á +:c?*:(E-)::É +:c*:(e-):: + Send {ASC 130} ;C-A-e insertion for é is weird + Return +:c?*:(I-)::Í +:c?*:(i-)::í +:c?*:(O-)::Ó +:c?*:(o-)::ó +:c?*:(U-)::Ú +:c?*:(u-)::ú +:*?:(!!)::¡ +:*?:(??)::¿ ;symbols -:*:(c)::© -:*:(r)::® -:*:(tm)::™ -:*:(ee)::€ -:*:(deg)::° +:*?:(c)::© +:*?:(r)::® +:*?:(tm)::™ +:*?:(ee)::€ +:*?:(deg)::° ;stupid fingers :*:seperated::separated :*:seperate::separate diff --git a/functions.ahk b/functions.ahk @@ -139,16 +139,6 @@ typeCygwin() { Return } -typeAcuteE() { - ; {AltDown}130{AltUp} doesn't work for some reason, don't judge me - ClipSaved := ClipboardAll - Clipboard = é - Send ^v - Clipboard := ClipSaved - ClipSaved = - Return - } - cmdPaste() { ;C-v / S-insert pastes into cmd CoordMode, Mouse, Relative MouseMove, 100, 100