Runtime (Or cmd) Parameters, Passed to Script Topic is solved

Propose new features and changes
User avatar
Delta Pythagorean
Posts: 627
Joined: 13 Feb 2017, 13:44
Location: Somewhere in the US
Contact:

Runtime (Or cmd) Parameters, Passed to Script

01 Dec 2017, 21:33

You know what I mean, when it comes to AHK_L 1.1+, I find it quite annoying, having to push all of the runtime parameters to an array like so:

Code: Select all

Args := []
Loop, %0%
	Args.Push(%A_Index%)
I'd rather have them already pushed to an array, maybe given a name like one of the AHK built in variables.A_CMDArgs or something like that.

Nothing too major, just something to help with compiled scripts accepting parameters more "normally."

[AHK]......: v2.0.12 | 64-bit
[OS].......: Windows 11 | 23H2 (OS Build: 22621.3296)
[GITHUB]...: github.com/DelPyth
[PAYPAL]...: paypal.me/DelPyth
[DISCORD]..: tophatcat

lexikos
Posts: 9583
Joined: 30 Sep 2013, 04:07
Contact:

Re: Runtime (Or cmd) Parameters, Passed to Script  Topic is solved

02 Dec 2022, 20:35

A_Args was implemented in v1.1.27 (in the same month this topic was posted).

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 82 guests