I'd like to test a custom windows application I have created by writing a macro to get it to load a succession of files and perform operations on them. I can't just open the file from windows because they are not associated with the application. For example, its like writing a macro to tell Excel to open a series of .txt files.
The only way I thought you could do this was to capture individual macros for opening each file, put those macro name in a text and read them in one at a time. I was using the "process text file" example, reading in each line, assiging it to a varible, then using the run macro in variable commnand.
I have 3 macros: open file 1, open file 2, open file 3, and I put them into a text file as:
open file 1
open file 2
open file 3
I've verified that the trsings ar egetting into the variable. But all I get is text coming out into my other application.
Any suggestion to do this? Perhaps I need to use a special syntax for the macro name in the text file? Or is there an easier was to do the required task?
Thanks,
Stuart