MACRO: Engine.log Tool, v10.0

Hi, @Nr.5-need_input. Thanks for testing Engine.log Tool and for taking the time to provide feedback.

That's not what I see; and I don't know why this might be occurring for you. As you can see below, the help window should close if the Action, Console, Reduce, Help, or Done button is selected. (If the Help button is selected, the help window will reopen.)

Keyboard Maestro Export

Maybe you could try running the AppleScript in the Script Editor (or Script Debugger) and see if the Help window closes.

( expand / collapse AppleScript )
try
	tell application "System Events"
		tell application process "Keyboard Maestro Engine"
			tell (first window whose name is "Keyboard Maestro - Display Text")
				tell (first button whose role description is "close button")
					perform action "AXPress"
				end tell
			end tell
		end tell
	end tell
end try

Again that's not what I see; and I don't know why this might be occurring for you. Also, no one else has reported this issue to me. Maybe it's related to Keyboard Maestro v10.2, but that's only speculation.

To see the expected behavior, refer to the second video in the Engine.log Tool OP.

I will say, the macro actions required for this feature are a bit complex. I do have a question: When you. open the Engine.log manually in the Console app do you see the Search field?

The macro actions will not function as expected if the Search field is not visible.

The only thing I'm storing in the jsELT_dict dictionary is the ErrorIndex (1 = latest failure/timeout; 2 = failure/timeout before that, ...).

The dictionary value above is displayed using the invaluable macro, Variable Inspector Prompt and Dictionary Editor, by @DanThomas.

This index is saved so that Engine.log Tool can open to the respective failure/timeout if:

  • If the hot key trigger includes the Shift key (⇧), or
  • the %TriggerValue% includes recall

Thanks for that comment, but the macro has not been designed for users to change those window positions. There are a few macro Settings and they are listed in the header comment.

If you want to mess with the window positions, you'll have to carefully change values in this block of actions:

Keyboard Maestro Export

Note that the first is a Group action and intentionally collapsed; but FYI here's the expanded group:

Keyboard Maestro Export

The variables local_MainDialogWidth and local_HelpHeight were very carefully set based on the main dialog size, the help window content, and my design goals. As I've released new versions of the macro, I've had to adjust these values because I've added some content to the help window.