Hello All
Is it possible using macros to count the number of open files? I am using the following macro to run some tools on each open file but I would like to be able to change the loop value to a dynamic value based on the number of open files.
Loop 39
RunTool "Compiler"
RunTool "Encryption Common Output"
NextDocument
EndLoop
Also the above tools run DOS based programs and are set to capture output. Is there any way of checking the received output and halting on an error? For example the returned value when compiled correctly is;
Compiler V1.01
Is it possible to catch the returned value with the macro code and if it does not match the above then exit the loop?
Thanks in advance
Regards
Phil
Is it possible using macros to count the number of open files? I am using the following macro to run some tools on each open file but I would like to be able to change the loop value to a dynamic value based on the number of open files.
Loop 39
RunTool "Compiler"
RunTool "Encryption Common Output"
NextDocument
EndLoop
Also the above tools run DOS based programs and are set to capture output. Is there any way of checking the received output and halting on an error? For example the returned value when compiled correctly is;
Compiler V1.01
Is it possible to catch the returned value with the macro code and if it does not match the above then exit the loop?
Thanks in advance
Regards
Phil