calberga
Ancient Board Spirit
     
Group: Awaiting Authorisation
Posts: 254
Joined: Oct. 2002 |
 |
Posted: Feb. 26 2006,21:41 |
 |
Well, I've read the "help" text on macros, but obviously before I can comment intellagently I need to records some and examine the files. Generally, I prefer systems where I can write the macro in a text editor, rather than recording in. I always seem to make false starts and have to go back and start again. In WordPerfect I usually record a dummy, and then go in and hack at it.
I note that there is, quite explicitly, a prohibition on changing directories. But that is what I need to do. Basicly I need a macro which looks like:
Go to first sub-directory loop: process the files in the current directory if ~(last sub-directory) move to next sub-directory goto loop: else exit
As I have said, I haven't looked at any example of macro code yet, but reading between the lines I suspect that the current implementation lacks if statements and loop control. (I know that goto statements are considered evil, but I started programming in 1958 and am somewhat stuck in my ways. Obviously, the above could be re-written as a "while" loop.)
I understand (but have not used) that there exists a similar macro facility for the windows GUI, but it also is a "record and execute" program. I suppose I could go off and learn php (which would be helpful elsewhere) but at this stage in life I'm not sure I need another programming language, especially one that looks like C, which I have managed to avoid.
Sorry to natter on, but it is a but frustrating!
|