I installed Julia on macOS High Sierra (10.13.3) with
brew cask install julia, and it opens in Apple Terminal by default.
I am completely new to AppleScript, so I don’t know how to change the default behavior of Julia so that it opens in iTerm2 by default. (App ID - com.googlecode.iterm2).
This is the script for starting Julia:
set RootPath to POSIX path of (path to me) tell application id "com.apple.terminal" do script ("exec '" & RootPath & "Contents/Resources/julia/bin/julia'") activate end tell
Any idea how this can be done?