Заполните здесь noob для applescript
. Я задаюсь вопросом, как решить следующую проблему для applescript
показано ниже:Applescript «ожидаемый конец строки, но найденный идентификатор» для терминала app
Я получаю следующее сообщение об ошибке на линии tell the current terminal
:
Expected end of line but identifier found
Вот код для тех, кто хочет попробовать:
tell application "iTerm"
make new terminal
tell the current terminal
activate current session
launch session "Default Session"
tell the last session
write text "unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH"
write text "mkdir -p ~/.boot2docker"
write text "if [ ! -f ~/.boot2docker/boot2docker.iso ]; then cp /usr/local/share/boot2docker/boot2docker.iso ~/.boot2docker/ ; fi"
write text "/usr/local/bin/boot2docker init && /usr/local/bin/boot2docker up && $(boot2docker shellinit) && docker version"
end tell
end tell
end tell
Ссылка: https://apple.stackexchange.com/questions/8299/how-do-i-make-an-applescript-file-into-a-mac-app