Toggle Window Size to Full Screen

###MACRO:   Toggle Window Size to Full Screen

~~~ VER: 1.0    2017-05-19 ~~~

####DOWNLOAD:
Toggle Window Size to Full Screen.kmmacros (37 KB)

NOTE: Macro was uploaded in DISABLED state. You will need to ENABLE before it can be triggered.


###Use Case

  • Quickly make a window size to fill the screen, and then restore to original size
  • This is different than zoom to Full Screen -- the Apple Menu is still visible
  • I use this many times a day with stock charts.

You may also be interested in these macros/topics:


###ReleaseNotes

Author.@JMichaelTX

PURPOSE:

  • Toggle Window Size to Full Screen Size
  • NOT Full Screen Mode

HOW TO USE:

  1. Select a window (make frontmost)
  2. Trigger this macro
  • FIRST time it is triggered, it will set window to FULL Screen Size
  • SECOND time it is triggered, it will restore the original window size
  • The same window MUST be frontmost both times

MACRO SETUP

  • Carefully review the Release Notes and the Macro Actions
    • Make sure you understand what the Macro will do.
    • You are responsible for running the Macro, not me. :wink:
      .
  • Assign a Trigger to this maro. I prefer ⌃⌥Key Pad +
  • Move this macro to a Macro Group that is only Active when you need this Macro.
  • ENABLE this Macro.
    .
  • REVIEW/CHANGE THE FOLLOWING MACRO ACTIONS:
    (all shown in the magenta color)
    *

TAGS: @Window @Resize @Screen @Stretch

USER SETTINGS:

  • Any Action in magenta color is designed to be changed by end-user

ACTION COLOR CODES

  • To facilitate the reading, customizing, and maintenance of this macro,
    key Actions are colored as follows:
  • GREEN -- Key Comments designed to highlight main sections of macro
  • MAGENTA -- Actions designed to be customized by user
  • YELLOW -- Primary Actions (usually the main purpose of the macro)
  • ORANGE -- Actions that permanently destroy Variables or Clipboards,
    OR IF/THEN and PAUSE Actions

REQUIRES:

  1. Keyboard Maestro Ver 7.3+ (don't even ask me about KM 6 support).
  2. El Capitan 10.11.6+
  • It make work with Yosemite, but I make no guarantees.

USE AT YOUR OWN RISK

  • While I have given this limited testing, and to the best of my knowledge will do no harm, I cannot guarantee it.
  • If you have any doubts or questions:
    • Ask first
    • Turn on the KM Debugger from the KM Status Menu, and step through the macro, making sure you understand what it is doing with each Action.

1 Like

Thanks, It is good. The only thing I don't know is why there are two simulated right arrow click action after toggled to the full screen? I removed them and everything seems work normally.

1 Like