"the standard within windows of passing command line params for all windows commands" "this isnt an ahk defined scope"
If that is so, then that info should be included in the documentation for the command line params. Otherwise the doc team is "trolling" the average reader. Not everyone using AHK is an "experienced IT professional".
EDIT:
Besides, also in such a case, if the widespread traditional usage of something is flawed, it does not hurt to alternatively add an improved version of that thing, accessable either with a different command or with a switch or whatever.
script command line parameters
Re: script command line parameters
your post was worded as if you had a deeper understadng that autohotkey is just script interpreter that calls complex windows API. justme already explained the source of the standard, but you continued.
perhaps if your post had asked why is it like this instead of attempting to shame the devs for not seeing things like you do.
perhaps if your post had asked why is it like this instead of attempting to shame the devs for not seeing things like you do.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter
Re: script command line parameters
Sure we can all devise and then suggest different methods of AHK programs interpreting other AHK programs cmd line args given the limitations. For non-AHK programs all one can do is use the MS specific fixture (per just me) which applies to all Windows executables. Find down that page the rules for it, and know those rules have been applied since at least the Win95 days.
My only original (off the cuff) wish was that AHK would employ its own escape, the backtick, ` for all escape & cmd line requisites, unfortunately, after further experience with AHK scripting this doesn't seem possible at all now.
Consider it more of a policy thing where AHK eschews any manipulation or wrapping of universal MS style cmd line string templates, however, if you wish to code up a class or utility offering more ease of use, why not contribute? Or, at least, a request in the docs section.
My only original (off the cuff) wish was that AHK would employ its own escape, the backtick, ` for all escape & cmd line requisites, unfortunately, after further experience with AHK scripting this doesn't seem possible at all now.
Consider it more of a policy thing where AHK eschews any manipulation or wrapping of universal MS style cmd line string templates, however, if you wish to code up a class or utility offering more ease of use, why not contribute? Or, at least, a request in the docs section.
itros "ylbbub eht tuO kaerB" a ni kcuts m'I pleH
Re: script command line parameters
Not sure about the documentation, but you can just add a ` prior to the quote to send a literal " in the command line. At least that's how I do my command lines in AHK.
Return to “AutoHotkey Development”
Who is online
Users browsing this forum: No registered users and 17 guests