Matt Pease wrote:
Yes, osascript has been available since 10.0. But what if Mozilla isn't
running? That line will open it and then tell it to quit, which is
open has been available since 10.0 as well (and NeXTSTEP too!). But
what if Myapp.app isn't in /Applications?
Pull out a splinter to reply.