You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I usually use global variable call arguments, which is an array can be used for passing arguments to the jsx file when I execute a script from command line, but extendscriptr outputted file can't be used for doing this, when I log this variable I got a function....
Then I came up with a quick solution, that is I put single line at top of outputted file with
varscriptArgs=arguments;
and I can access my command line arguments correctly with scriptArgs.
Dose anybody has better solution?
The text was updated successfully, but these errors were encountered:
I usually use global variable call
arguments
, which is an array can be used for passing arguments to the jsx file when I execute a script from command line, butextendscriptr
outputted file can't be used for doing this, when I log this variable I got a function....Then I came up with a quick solution, that is I put single line at top of outputted file with
and I can access my command line arguments correctly with
scriptArgs
.Dose anybody has better solution?
The text was updated successfully, but these errors were encountered: