Views
653
Replies
0
Status
Closed
Hi,
I am trying to figure out how to read from a comma seperated file. I am reading through
‘JavaScript File Object.pdf’ but really haven’t made much progress. I am using ps7 and javascript
Could someone give me an example of a script that reads from a file like input.txt which contains 23,43,65
and writes the contents of that file to output.txt ?
Ultimately,
I would like to have a file that contains the names of images i need to process. I would read 23,
open 23.jpg, resize it, save it in a new location, close it, and move on to the next file. If 23 were
not present, I would write ’23’ to an errors.txt file.
Thanks,
Chuck
I am trying to figure out how to read from a comma seperated file. I am reading through
‘JavaScript File Object.pdf’ but really haven’t made much progress. I am using ps7 and javascript
Could someone give me an example of a script that reads from a file like input.txt which contains 23,43,65
and writes the contents of that file to output.txt ?
Ultimately,
I would like to have a file that contains the names of images i need to process. I would read 23,
open 23.jpg, resize it, save it in a new location, close it, and move on to the next file. If 23 were
not present, I would write ’23’ to an errors.txt file.
Thanks,
Chuck
Must-have mockup pack for every graphic designer 🔥🔥🔥
Easy-to-use drag-n-drop Photoshop scene creator with more than 2800 items.