diff --git a/AutoHotkey64.ahk b/AutoHotkey64.ahk index 59ba5b7..592a874 100644 --- a/AutoHotkey64.ahk +++ b/AutoHotkey64.ahk @@ -23,6 +23,10 @@ CoordMode("Mouse", "Screen") ; I removed `n and `t from hotstring trigger chars ; https://www.autohotkey.com/docs/v2/Hotstrings.htm#EndChars #Hotstring EndChars -()[]{}:;'"/\,.?!`s +; Try to make telegram and Feces work better with hotstrings +; 1. Switch all hotstrings from SendInput to SendEvent, otherwise they ignore key delay +; 2. Increase the time between each hotstring hotkey to 10ms +#Hotstring SE K10 ;; rest of everything #Include lib/Tippy.ahk diff --git a/hotstrings/GenericHotstrings.ahk b/hotstrings/GenericHotstrings.ahk index ac5ce03..5194142 100644 --- a/hotstrings/GenericHotstrings.ahk +++ b/hotstrings/GenericHotstrings.ahk @@ -1,64 +1,67 @@ -; Reference: https://autohotkey.com/docs/Hotstrings.htm#Options -; Note: "O" deletes the ending character (the one which activates the hotstring) - -; ----- @self -------------------------- -:O:c@tbp::cristian@tbp.land -:O:c@gmail::cristian.nahsuc@gmail.com -:O:c@nagarro::cristian.pasat.ext@nagarro.com -:O:@tbp::TheBestPessimist - - - -; ----- my autohotkey github ----------- -::.gitahk::https://git.tbp.land/AutoHotKey-Scripts/ -::.gitahkl::https://git.tbp.land/AutoHotKey-Launcher/ - - -::.date:: { - Send(FormatTime( , "yyyy-MM-dd")) -} -::.datet:: { - Send(FormatTime(, "yyyy-MM-dd--HH-mm-ss")) -} - - - - - -; todo: fix for ahk 2 -;::.collapsed:: -;::.hidden:: { -;text = -;( LTrim -;
-;Collapsed for Brevity -; -; -; -;
-;) -;Send, % text -;} - - - -; ------ powershell -------------------- -::.pwsh::powershell -::.pwshtranscript::Start-Transcript -NoClobber -OutputDirectory $(Join-Path $(Resolve-Path "~") "\Desktop\PowershellTranscripts\") -:O:.pwshtop::while($true){{}$TheCommandOutput = `; clear; echo $TheCommandOutput; Date; sleep 1{}}{left 47} -:O:.pwshfind::Get-ChildItem -Force -Recurse -Include **{left 1} - - - - -; ----- Robocopy ----------------------- -::.robocopy::robocopy /E /Z /R:5 /W:5 /TBD /unicode /V /XJ /ETA /MT:32 'source' 'destination' - - - -; ---- Misc ---------------------------- -::.giggle::__(giggle)__ - -::.youtried::https://discourse.tbp.land/uploads/default/original/1X/ffe6c3aeef608606b00fa5587acce5bbf6d15d05.png - -:O:.tias::https://discourse.tbp.land/uploads/default/original/1X/e741730b2b41b7ecd3672f986951038ca43af531.jpeg +; Reference: https://autohotkey.com/docs/Hotstrings.htm#Options +; Flag explanations: +; - 0 (letter o) deletes the ending character (the one which activates the hotstring) +; - B0 (letter b and zero): Disable automatic backspacing +; - Kn: Delay between each keypress + +; ----- @self -------------------------- +:O:c@tbp::cristian@tbp.land +:O:c@gmail::cristian.nahsuc@gmail.com +:O:c@nagarro::cristian.pasat.ext@nagarro.com +:O:@tbp::TheBestPessimist + + + +; ----- my autohotkey github ----------- +::.gitahk::https://git.tbp.land/AutoHotKey-Scripts/ +::.gitahkl::https://git.tbp.land/AutoHotKey-Launcher/ + + +::.date:: { + Send(FormatTime( , "yyyy-MM-dd")) +} +::.datet:: { + Send(FormatTime(, "yyyy-MM-dd--HH-mm-ss")) +} + + + + + +; todo: fix for ahk 2 +;::.collapsed:: +;::.hidden:: { +;text = +;( LTrim +;
+;Collapsed for Brevity +; +; +; +;
+;) +;Send, % text +;} + + + +; ------ powershell -------------------- +::.pwsh::powershell +::.pwshtranscript::Start-Transcript -NoClobber -OutputDirectory $(Join-Path $(Resolve-Path "~") "\Desktop\PowershellTranscripts\") +:O:.pwshtop::while($true){{}$TheCommandOutput = `; clear; echo $TheCommandOutput; Date; sleep 1{}}{left 47} +:O:.pwshfind::Get-ChildItem -Force -Recurse -Include **{left 1} + + + + +; ----- Robocopy ----------------------- +::.robocopy::robocopy /E /Z /R:5 /W:5 /TBD /unicode /V /XJ /ETA /MT:32 'source' 'destination' + + + +; ---- Misc ---------------------------- +::.giggle::__(giggle)__ + +::.youtried::https://discourse.tbp.land/uploads/default/original/1X/ffe6c3aeef608606b00fa5587acce5bbf6d15d05.png + +:O:.tias::https://discourse.tbp.land/uploads/default/original/1X/e741730b2b41b7ecd3672f986951038ca43af531.jpeg diff --git a/hotstrings/MarkdownEmoji.ahk b/hotstrings/MarkdownEmoji.ahk index 1b59239..8ca50f3 100644 --- a/hotstrings/MarkdownEmoji.ahk +++ b/hotstrings/MarkdownEmoji.ahk @@ -61,13 +61,13 @@ In order to debug try running the hotstring with these options: ; :thumbsup - https://emojipedia.org/thumbs-up/ :O::`+1::👍 ` -:0::thup::👍 ` +:O::thup::👍 ` ; :thumbsdown - https://emojipedia.org/thumbs-down/ :O::`-1::👎 ` -:0::thdn::👎 ` -:0::thdown::👎 ` +:O::thdn::👎 ` +:O::thdown::👎 ` ; Pause - https://emojis.wiki/pause-button/