Textedit - click on new document and maximise window


When I open textedit, I’d like to click on the “new document” button and then maximize the window by pressing alt-mouse click.

What would be the best way to achieve this.


anyone please help me. thanks.

Hey @skyblue,

There’s not a new document button that I’m aware of.

Did you mean the menu item?

You’d have to use a Select or Show a Menu Item action and then probably a Click on Found Image action to do what you describe.

Better to just use AppleScript:

tell application "TextEdit"
  make new document
  tell front window to set its zoomed to true
end tell

In an Execute an AppleScript action.