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
/* | |
[script info] | |
version = 2.5 | |
description = wrap selected text in %symbols% | |
author = davebrny | |
source = https://gist.github.com/davebrny/088c48d6678617876b34f53571e92ee6 | |
*/ | |
sendMode input | |
return ; end of auto-execute |
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
/* | |
[tag list] | |
bank | |
car | |
insurance | |
receipt | |
tax | |
[settings] | |
recent_total = 11 |
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
/* | |
[wrap list] | |
( = (TXT) | |
`[ = [TXT] | |
{ = {TXT} | |
< = <TXT> | |
> = >TXT< | |
a = /`*TXT*`/ | |
h = <!-- TXT --> |
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
#noEnv | |
#singleInstance, force | |
sendMode input | |
return ; end of auto-execute --------------------------------------------------- | |
!r:: goSub, txt_replace | |
!+r::goSub, use_last_replace |
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
#noEnv | |
#singleInstance, force | |
sendMode input | |
return ; end of auto-execute --------------------------------------------------- | |
!s:: goSub, text_swap | |
!+s::goSub, repeat_last_swap | |
; !+s::goSub, repeat_last_swap_interactive |
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
xywh(x:="", y:="", w:="", h:="") { | |
return value("x", x) . value("y", y) . value("w", w) . value("h", h) | |
} | |
value(letter, v) { | |
static prev_x, prev_y, prev_w, prev_h | |
if v contains +,- | |
v := eval(prev_%letter% . v) |
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
get_selected(wait_time="0.3") { | |
revert_clipboard := clipboardAll | |
clipboard := "" ; clear first | |
send ^{c} | |
clipWait, % wait_time | |
selected := clipboard | |
clipboard := revert_clipboard | |
return selected |
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
/* | |
[folders] | |
folder_1= | |
folder_2= | |
folder_3= | |
[settings] | |
prefix = LS_ | |
time_format = yyyyMMddhhmmss | |
fullscreen_hotkey = |
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
#noEnv | |
#persistent | |
#singleInstance, force | |
close_types := "winClose | postMessage | winKill | process" | |
hotkey, !F4, close_window_f | |
; hotkey, #q, close_window_f | |
return ; end of auto-execute --------------------------------------------------- |
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
; name ; options (* means default) ; description | |
; ------------------------------ ; -------------------------------- ; --------------------------------------------------------- | |
; #ClipboardTimeout -1 ; -1|0|1000* (Milliseconds) ; Changes how long the script keeps trying to access the clipboard when the first attempt fails | |
; #CommentFlag ; NewString ; Changes the script's comment symbol from semicolon to some other string | |
; #ErrorStdOut ; ; Sends any syntax error that prevents a script from launching to stderr rather than displaying a dialog | |
; #EscapeChar ; NewChar ; Changes the script's escape character (e.g. accent vs. backslash) | |
; #HotkeyInterval ; 2000* (Milliseconds) ; Along with #MaxHotkeysPerInterval, specifies the rate of hotkey activations beyond which a warning dialog will be displayed | |
; #H |
NewerOlder