I need to create a simple script that looks into a document and counts how many times every png, gif, tiff, etc. has been used, and then this count is memorized and stored into a log.txt that the script would spit out.
Could anyone point me in the right direction?
I'm hoping this is the right part of the forums to post this question, if not, please relocate this post. :-)
Script looks into document
Script finds 1.png
1.png is memorized and count for 1.png is set to one.
Script finds 1.png again.
1.png is memorized again and count for 1.png is set to two.
Script finds 2.png
2.png is memorized and count for 2.png is set to one.
Script can't find any more images.
End of script, command.log ejects counts to log.txt
THANK YOU ANYBODY WHO HELPS! I'm very new to scripting.