Thanks for the tips. I am a complete beginner, so please pardon the following very basic question.
I have pasted the code in text/edit, but it will not let me save as a .jsx file. Only an .rtf file. I have removed the .rtf and replaced it with .jsx. I then paste the file in the scripts section within the library, and I can see it pop up when I browse for it under the scripts menu. But I keep recieving this error
:
Error 8: Syntax Error
I noticed that even though the file has the .jsx extension, the I con on the file remains as a white piece of paper, where all of the other files have an icon labeled "exec", and is green and black. What am I missing here?
You need to use a plain text editor. You can download Extendscript Took Kit from the Adobe Creative Cloud App (same place you download/update Photoshop). Or you can you something like notepad or word pad. Just no rtf format - straight txt extension that you can change to jsx.