Hi there,
I will want to create an AppleScript to launch Homebrew's app.
The path of Homebrew's apps is "/usr/local/bin/".
For example, I would like to start with Mediatomb that is already installed.
I tried to create it, it works but I would like ameliorate it.
Here the code :
I would like to close the first terminal that opens it (that allows to start Mediatomb) and optional launch Safari with Mediatomb web user interface (address IP and port).
Is this possible ? Any suggestions ?
Thanks !
I will want to create an AppleScript to launch Homebrew's app.
The path of Homebrew's apps is "/usr/local/bin/".
For example, I would like to start with Mediatomb that is already installed.
I tried to create it, it works but I would like ameliorate it.
Here the code :
Code:
tell application "Terminal"
do script "/usr/local/bin/mediatomb"
end tell
I would like to close the first terminal that opens it (that allows to start Mediatomb) and optional launch Safari with Mediatomb web user interface (address IP and port).
Is this possible ? Any suggestions ?
Thanks !
Last edited: