I?m trying to use the Macro recorder while running brief emulation. If I?m recording and do a ctrl-f to ?find?, I get the find dialog, do the find, and use the esc button to end the ?find?. When I replay the macro it stops at the dialog box and doesn?t continue.
What is the proper way to do a ?find? while in the macro recorder (f7 & f8).
Using ctl-f 'find' in a macro
-
- Posts: 1
- Joined: Fri Jan 07, 2005 4:45 pm
I must admit the original Brief being does handle the search and replace commands within a macro better than ZeusWhat is the proper way to do a ?find? while in the macro recorder.

But the original Brief does have the advantage of not having to conform to the message and event driven model that Windows imposes on all Windows applications. Basically bringing up the Find dialog (or any other dialog for that matter) within a Zeus macro will not work

But there is a way to achieve the desired result. In the case of the Find dialog what you need todo is pre-program the text find by doing a manual first search outside of the scope of the macro. You can then record the macro using the Search Next command without having to invoke the dialog. In other words use the find dialog to define the find then record the macro using Search Next.
A second, less usesful alternative is to manual edit the macro created using the Macros, View Source menu and replace the call to the search dialog with a call to the set_find_text macro function.
These options are not as nice as the original Brief method but after getting the hang of writting macros this alternative way the end result is the same

Cheer Jussi