-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
cf76d80
commit d490073
Showing
3 changed files
with
74 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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::[email protected] | ||
:O:c@gmail::[email protected] | ||
:O:c@nagarro::[email protected] | ||
: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 | ||
;<details> | ||
;<summary>Collapsed for Brevity</summary> | ||
; | ||
; | ||
; | ||
;</details> | ||
;) | ||
;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::[email protected] | ||
:O:c@gmail::[email protected] | ||
:O:c@nagarro::[email protected] | ||
: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 | ||
;<details> | ||
;<summary>Collapsed for Brevity</summary> | ||
; | ||
; | ||
; | ||
;</details> | ||
;) | ||
;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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters