1

When a window is fullscreen, it occupies a new Desktop in Mission Control. Is there a way to have a keyboard shortcut to got to that desktop/space (without having to recreate the shortcut each time)?

Context: Zoom tends to occupy this desktop. I tend to have 9 desktops and have set it so that Mission Control doesn't rearrange them. This means that Zoom will occupy the 10th desktop.

3
  • What macOS version are you using? if you are on macOS 12 or above, you can use the shortcuts app to add a keyboard shortcut.
    – Rishon_JR
    Commented Sep 9, 2022 at 4:45
  • 1
    A full-screened window occupies a new Space, not a maximized one. Commented Sep 9, 2022 at 4:51
  • 1
    @MarcWilson - I've corrected that in the question, as it makes a huge amount of difference to the potential answer. [I personally don't know of any way other than Ctrl/highest number (in this case 9) then Ctrl right arrow; another of the many reasons I never use fullscreen.]
    – Tetsujin
    Commented Sep 9, 2022 at 7:56

1 Answer 1

1

If you know the name of the application that is full-screened, and it's the only one, do this:

$ osascript -e 'tell application "application_name"' -e 'activate' -e 'end tell'

That will switch to the application.

1
  • This may be equivalent to cmd+tab to that app. It also has better transition on ProMotion displays(faster and linear)
    – hym3242
    Commented Jun 3 at 11:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .