2017-03-16 32 views

答えて

1

これは

set the clipboard to "Lsj!" as text 
tell application "iTerm" to activate 
delay 0.1 
tell application "System Events" to tell process "iTerm" 
    keystroke (the clipboard) 
end tell 
1

wch1zpinkの答えは動作するはず動作するはずです。

keystroke "l" using {shift down} -- uppercase 
    keystroke "sj!" -- lowercase 
0

を必要に応じて

また働くべきであると個別に手紙を書くことができ

tell application "iTerm" to activate 
delay 0.1 
tell application "System Events" to tell process "iTerm" 
key code 37 using {shift down} 
key code 1 
key code 38 
end tell