0

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

#!/bin/bash

LESSON="$1"

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

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 Nov 16 '17 at 6:46

You must log in to answer this question.

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