Tapatalk

Highlight causes record to fail

Highlight causes record to fail

112
Power UserPower User
112

    Oct 19, 2006#1

    It seems that setting [x]Highlight all items found will cause macro recording to fail...

    Can anyone confirm?

    Is there an undocumented macro parameter for this?

    TIA,
    Paolo
    There is no such thing as an inconsistently correct system...
    Therefore, aim for consistency; in the expectation of reaching correctness!

    6,685587
    Grand MasterGrand Master
    6,685587

      Oct 20, 2006#2

      The Highlight All Items Found feature cannot be used from within a macro. It's the nature of this feature that it can be only used with user interactions because the user must scroll to see the highlighted found strings and the highlighting will stop if he continues with any action except scrolling with mouse or the cursor moving keys.

      If you record a find with the feature checked, you will see in the macro code what UltraEdit is doing in the background for this feature (run multiple Finds). Well, the macro recorder should record only the first find when this special feature is set and not all subsequent finds too.

      But I think, the IDM developers simply have not thought on it that a user tries to record a find with this special option checked because it makes no sense for macros. Except a user wants to create macros with only 1 Find with Highlight All Items Found command for various often needed search strings for a quick recall from the macro list view. Sorry, but this is not possible although I understand that this could be useful.
      Best regards from an UC/UE/UES for Windows user from Austria