Created
February 3, 2021 06:01
-
-
Save CFiggers/20423cf300a948aee116e77bafd3ee01 to your computer and use it in GitHub Desktop.
Join Roam Blocks Autohotkey Script
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
; Change what's before the double colons to change the keyboard shortcut | |
; Currently set to Ctrl+j | |
^j:: | |
oldclip := Clipboard | |
SendInput ^c | |
Sleep 150 | |
n = | |
Clipboard := StrReplace(StrReplace(Clipboard, "`n" , "", n),"- " , "") | |
SendInput {Right 3} | |
n := n - 1 | |
Sleep 150 | |
Loop, %n% | |
{ | |
SendInput ^a | |
SendInput {Backspace 2} | |
Sleep 150 | |
} | |
SendInput ^a | |
SendInput ^v | |
Sleep 150 | |
Clipboard := oldclip | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment