Menu

macros using replace dialog

2007-09-20
2012-11-13
  • Nobody/Anonymous

    I cannot get a macro to record when I use the replace menu dialog.
    I start recording the macro.
    I open the dialog for search and replace.
    I enter the data and perform the task to replace all.
    I change the data and perform the task again.
    I exit the diaglog and stop the recording

    But there is no recording and the save recording dialog does not offer to save
    the recording.

    Is it not possible to use the search and replace in a macro?
    If not, why not?
    I need to convert some data in several files and the macro would be perfect to
    achieve this.

    Dale

     
    • Greg Bullock

      Greg Bullock - 2007-09-21

      At present, the macro feature records only (a) keystrokes/commands to the edit window, and (b) some, but not all, commands from the main menu.  It does not record input to any other windows, such as the search/replace windows.  Sometimes you can work around this by prepopulating your search/replace windows, then record the <F3> keystroke in the macro.

      Regards.
      Greg

       
MongoDB Logo MongoDB