Last active
February 18, 2019 17:45
-
-
Save davebrny/f7cbde0d89a5c99cec554e46ba94db11 to your computer and use it in GitHub Desktop.
(autohotkey) - get the parameters that have been passed to the 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
passed() { | |
global 0 | |
loop, %0% | |
params .= (params ? a_space : "") . %a_index% | |
return params | |
} | |
/* | |
[script info] | |
description = get the parameters that have been passed to the script | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
expanded example: