Quantcast
Channel: Adobe Community : All Content - Illustrator
Viewing all articles
Browse latest Browse all 61891

Read input parameters from a script title

$
0
0

I am sure this is a newbie adobe javascript question, but I have looked for some time and cannot figure out the answer. How do I read input parameters from a script file title? For example, let’s say I want to run a script that requires 3 variables as input, but rather than prompting for the values I wish to read them from the script file name … e.g., Myscript (my_variable1, my_variable2, my_variable2)…where variables are all real numbers. So I assume the script name when run should look something like …  Myscript (10, 10, 100), but how do I then read these and assign these values to a var within the script?

 

Thanks for any help!


Viewing all articles
Browse latest Browse all 61891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>