Require a method to proceed in scripting. Following is the overview of the same:
I need to iterate a set of funtions in a script file based on the inputs present in a text file. Inputs are accepted from a text file and all the funtions are present in a separate script file in the same suite.
I tried calling all the funtions inside the “repeat” loop. But the scripts are encountering an exception when the functions search for any image, saying - cannot open the image file :thedata.
My script looks something like below:
Start using “Script 2”
repeat with thedata = each line of file “input.txt”
Stop using “Script 2”
if ImageFound(item 1 of thedata)
Is it possible to script in the above way :?: If not so, please suggest any alternative to code the above :!: