Depending on your particular application software, this can be accomplished using
Workspace Macro fairly easily.
I have used the following method on quite a few occasions, saving a LOT of time updating hundreds of CAD drawing Title Blocks in a given directory using BENTLY's Microstation software....without even being present.
Also for PLOTTING drawings where a program does not have a 'Batch Plot' procedure.
In fact, without programming, it was ONLY by a combination of Macros WITHIN Microstation AND
Workspace Macro that the result I needed was at all possible!
Microstation remembers the directory you were last in AND highlights, in a Windows Explorer dialog box, the file that you last opened.
BUT, if you try to open a new file, the Microstation Macro ends and cannot continue.
To be successful in what I needed, the
Workspace Macro keystroke macro was this.......
[CTRL O] (opens the Windows Explorer dialog box with the current entry highlighted)
[CURSOR DOWN] (selects next file)
[ENTER] (opens next drawing)
[Click the Title Bar of the program you are using] (to give it back 'focus')
[your chosen commands, mouse and keystrokes] (either carries out the process you want, or spawns a Macro WITHIN the program you are using, to achieve the change you want)
Then it is just a matter of counting the files in the directory, and having
Workspace Macro repeat the process over the entire directory.
PS
If you're using this to PLOT drawings, make sure the printer has enough paper loaded
