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.