First of all my question is different from this question. The issue is that in my case I want to loop figures that are named with a monotonically increasing order from (1,2,\ldots,1000). I know how to use \psfrag for editing a single .eps file. But, what I don't know is how to do the same for multiple figures. As said earlier, in my case only the figure number changes (increases monotonically) and everything else remains the same.
Is it possible to loop this execution inside a loop? Since, I have never worked with loops in latex, at this moment I have no MWE.
Thanks for your suggestions.

\foreachloop uses a count (register) internally – May 17 '17 at 10:55