In .au3 file, trying to pass it as ControlSetText($hWnd, "", "[CLASS:Edit; INSTANCE:1]", $CmdLine[1])
with the below typescript code cp.execSync('uploadFile.exe' + ' ' + filePath);
But, the value is passed as empty and nothing is passed in the Open dialogue box.
When I try to keep it as $CmdLine[0] in .au3 file it sends the value in dialogue box as "1".
What I am missing here? Any suggestions!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In .au3 file, trying to pass it as
ControlSetText($hWnd, "", "[CLASS:Edit; INSTANCE:1]", $CmdLine[1])
with the below typescript code
cp.execSync('uploadFile.exe' + ' ' + filePath);
But, the value is passed as empty and nothing is passed in the Open dialogue box.
When I try to keep it as $CmdLine[0] in .au3 file it sends the value in dialogue box as "1".
What I am missing here? Any suggestions!