I hereby claim:
-
I am sugoidesune on github.
-
I am timar (https://keybase.io/timar) on keybase.
-
I have a public key ASCLWVuMYLPnxlSBrsvWRe3WwMEb0C1SsZgAcBaztYgaOQo
#SingleInstance Force | |
SetMouseDelay, 0 | |
;An Autohotkey script for changing quickly cycling through Lightroom Presets | |
;It moves the mouse by the amount of pixels set under pixels_to_move and clicks | |
; You can experimentally find out the best pixel distance for you and set it here. | |
pixels_to_move := 10 | |
;Press Ctrl+Alt+Up to Pause the script. Press it again to restart it. |
function regexrList(captureRegEx, listTemplate, str) { | |
// map for every match | |
const matchesToTemplate = (match) => { | |
// replace for every group in match | |
return match.reduce((acc,group,i)=>{ | |
// 0th index is $n, others follow index number $1,$2 | |
var key = '\\$' + (i==0 ? 'n' : i) | |
var regex = new RegExp(key,'g') | |
// example: replace $1 with match[1] which is 'group' | |
var replaced = acc.replace(regex,group) |
I hereby claim:
I am sugoidesune on github.
I am timar (https://keybase.io/timar) on keybase.
I have a public key ASCLWVuMYLPnxlSBrsvWRe3WwMEb0C1SsZgAcBaztYgaOQo