AE Startup/Shutdown Script to Mount/Unmount Volume
I'm hoping to get some help writing a little script to mount an external USB APFS Cache Volume on start and unmount on quit. I sorted through the Terminal Shell Script command, but I get lost with Javascript.
diskutil mount D55333F4-7ABD-45FD-9F78-CD44DB7904F5
By default, the volume does not automount as I don't use AE enough to keep the drive mounted.
Normally I could throw this into an Applescript and call it a day.
Can someone give me some pointers on how to write this or even a good place to start learning? I would really appreciate it.
Thank you.
Using AE 2019 v.16 on a MacBook Pro, OS X 10.14.2.
