summaryrefslogtreecommitdiffstats
path: root/functions.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'functions.ahk')
-rw-r--r--functions.ahk8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions.ahk b/functions.ahk
index 06eb4b6..30fbf80 100644
--- a/functions.ahk
+++ b/functions.ahk
@@ -67,6 +67,14 @@ appendClipboard() {
Return
}
+insertSignature() {
+ global firstName
+ global lastName
+ StringLeft, firstinitial, firstname, 1
+ StringLeft, lastinitial, lastname, 1
+ Send, %A_Space%-%firstinitial%%lastinitial%
+ }
+
pasteTelephone() {
StringReplace, clipboard, clipboard, +44, 0, All ;translate intl codes
StringReplace, clipboard, clipboard, %A_Space%,, All ;remove spaces