Quick way to only show editor?

I haven’t been able to find anything on this but maybe, my vocabulary is missing something, or I’m looking in the wrong places. If I’ve missed something obvious, then my apologies in advance.

Normally drafts looks something like the top of the following, and what I want to do, is to go into a the bottom view, where it only shows the editor, so that I can focus on my writing, without the “noise” from actions, drafts list etc. in just one click.

Is there a way to do that? Perhaps through configuration or automation or something?

There are menu commands to hide/show the side bars in the View menu, which are assigned the ⌘-1 and ⌘-0 keyboard shortcuts. You can use those to quickly toggle those panels.

There is not one command to hide both, but it can be done with an action. There’s an example you can install in the directory, which you could assign a keyboard shortcut of your liking.

That you for your quick response. I found the following in a script to be doing some of what I wanted to achieve (the script example seems to be using deprecated functions, but the reference documentation is very good, so that was quickly handled):

app.currentWindow.hideDraftList();
app.currentWindow.hideActionList();

However this still leaves the Action Bar and the Toolbar, which there don’t seem to be function for managing in the reference documentation. Could I be missing something, or is there another potential “workaround” for this?

Thanks, I’ll update that example to the newer APIs.

Action bar visibility is not scriptable, largely because that would not be possible to implement on iOS because of the way accessory views work – although I could make that an option on Mac, I suppose.

Do you use the action bar often on Mac? I’ve always found it somewhat superfluous on Mac and leave it hidden in my installations, as it’s usually easier to use keyboard shortcuts or the command palette to quickly access actions. Obviously, everyone’s preferences vary. It’s always seemed like mostly an iPhone thing to me.

Action bar visibility is not scriptable, largely because that would not be possible to implement on iOS because of the way accessory views work

Does the same apply to the Toolbar? And the Tag Entry for that matter?

Would it be possible to “simulate” key presses through scripting? I.e. simulating the press of ⌥ ⌘ T to hide the Toolbar? This is only relevant for me on MacOS.