WindowPadX
WindowPadX copied to clipboard
.ini path as parameter
I would suggest allowing a command line parameter that points out the WindowPadX.ini file, so that it does not have to reside in the same directory as the .ahk/.exe
Would love to see this as well, so this library could be included as a submodule.
The easiest solution would be to check if the first param has ".ini" in it. Probably something like this:
Loop %0%
{
param := %A_Index%
if InStr(param, ".ini")
{
WindowPadX_Init(param)
}
Else
{
gosub WindowPadXInit
wp_ExecLine(%A_Index%)
}
}
I'll probably take a look at this soon.
EDIT: PR Open