- Open up Windows PowerShell or Cmd console.
- Alt+Space to open the menu, then "P" to open Properties.
- Shift+Tab to move between tabs, then right-cursor once to get to the Font tab.
- Tab once to get to Font field and then enter "18" my preferred font size.
- Shift+Tab to get back to the tabs, then right-cursor once to get to the Layout tab.
- Tab once to get to the Buffer Height field, and enter "9999".
- Tab twice to get to the Windows Size Width and set it to 140.
- Tab once to get to Window Size Height field and set it to 32.
In addition, while these operations are going on, I would the focus to lock onto the Properties dialogue, so that a stray mouse click or keyboard press won't mess this up and send the keypresses into other windows that are brought into focus.
I can send keypresses, but I often find it a bit hit and miss as focus does change, or, maybe a dialogue does not open in time, so I have to then put sleep's in to hopefully wait long enough for a diaogue to open properly (which seems wrong, surely AutoHotkey can stick to the dialogue and ensure that these keypresses are only going to the correct fields etc?). Help on that would help me with a lot of scripts actually, as guaranteed control when navigating dialogues is something that I can't do very well.
![👍](http://cdn.jsdelivr.net/emojione/assets/3.1/png/64/1f44d.png)