Launch Droplet in Powershell with arguments to be read with a jsx script
Hello everyone! ![]()
I have a droplet.exe that calls a script.jsx.
I simply want pass an argument from the Windows Powershell to the jsx script.
I tried lots of combinations like the followings but none of them worked.
Example of some Poweshell commands I tried:
C:\users\user\desktop\droplet.exe "M:\images\image1.jpg" --myargument "140cm"
C:\users\user\desktop\droplet.exe "M:\images\image1.jpg" -myargument "140cm"
C:\users\user\desktop\droplet.exe "M:\images\image1.jpg" /myargument "140cm"
C:\users\user\desktop\droplet.exe "M:\images\image1.jpg" \myargument "140cm"
Example of the jsx code I'd like to use:
alert(myargument);
- Is it something feasible?
- How should I launch the droplet from the Windows Powershell?
- How do I read the argument?
Thanks a lot!! ![]()
