I am trying to write a Bash script to open two applications in full split screen, for example:



echo operating on lesson $LESSON

open /Applications/Pages.app /Users/username/Library/Mobile\ Documents/com~apple~Pages/Documents/$LESSON*
open /Users/username/courses/chemistry/$LESSON*

This works, but I want to open Pages and Preview in full screen and split view.

1 Answer 1


Get the Magnet app from the App Store, far less effort and does exactly what you want.

  • I have yet Magnet and I use it every days. There is no massochism, the actual massochims is open the same PDFs every days ad put them manually firstly full screen and then in split view. A simple click-launchable script make life easier. 😉
    – kitsune
    Commented Nov 16, 2017 at 6:46
  • Did you ever find a solution to this issue?
    – pommefrite
    Commented Mar 11, 2020 at 9:45

You must log in to answer this question.

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