23. if application "Xcode" is running then
tell application "Xcode" to quit
say "Kill xcode"
delay 1
end if
!
say "Boot Xcode"
tell application "Xcode" to activate
24. if application "Xcode" is running then
tell application "Xcode" to quit
say "Kill xcode"
delay 1
end if
!
say "Boot Xcode"
tell application "Xcode" to activate
コードのどこらへんまで動いているか知りたいので
sayメソッドで命令を発音させたりすると便利