1
を書くために、私はAppleScriptを記述しようとしています: - 新しいウィンドウ を開くを - ディレクトリ を変更 - 垂直同じディレクトリ にペインを分割 - 左ペイン にテキストを書き込みます -ITERM AppleScriptの2つの別々の垂直方向のペインで
にテキストを書き込み、可能であれば両方のペインを同時に実行します。
私が得ることができる最も近いものは、類似しているが2つの別々のウィンドウを開くことです。そのよう:
tell application "iTerm"
set myterm to create window with default profile
tell myterm
activate current session
launch session "Default Session"
tell the current session
write text "cd ~/Desktop"
write text "xcodebuild clean -workspace -scheme WelcomeScreenTests -sdk iphonesimulator -destination 'platform=iOS Simulator,id=476E9E8C-8248-4EF6-8054-67900D603E83' test | xcpretty"
end tell
end tell
set myterm to create window with default profile
tell myterm
activate current session
launch session "Default Session"
tell the current session
write text "cd ~/Desktop"
write text "xcodebuild clean -workspace -scheme WelcomeScreenTests2 -sdk iphonesimulator -destination 'platform=iOS Simulator,id=F3DEA448-147B-4DDB-AD83-16D18BA1A87F' test | xcpretty"
end tell
end tell
すべてのヘルプは素晴らしい感謝
素晴らしいありがとう! – Wazza