How to jump to Messages on CMD+R

Is there a setting or keyboard shortcut to toggle to Messages pane automatically when running a project? I’m going nuts having to select it each time before hitting CMD+R. Thanks!

image

No, but if you have a Build Script, you can add the following:

DoCommand("ToggleMessages")

It’s up to whether to have the Build Script run for Debug only or Release (or both).

Oh, in the Settings/Options dialog, under “Debugging” there is a checkbox for “Hide Find/Errors/Messages panel on run”. I always have this unchecked, not sure what happens if this is checked with the above DoCommand suggestion.

3 Likes

That works for me if Messages aren’t showing.

However, if the messages tab is already showing, it gets hidden.

I used @Scott_C advice, but also added the line DoCommand(RunApp), now instead of hitting CMD+R I hit OPT+CMD+1 to run the script and get exactly what I needed. Thanks Scott!

1 Like

Oh, sorry. I had another DoCommand buried that runs prior to “ToggleMessages”, so I think if you do the following together in the Build Script, it’ll work:

DoCommand("Find")
DoCommand("ToggleMessages")

Then the messages pane is always displayed, regardless of the what is already open or not.

1 Like