標準出力をmiに挿入
こんなので挿入できるような気がします。
tell application "mi" do shell script "date '+%Y%m%dT%H:%M:%S+09:00' ¦ pbcopy " set DateText to (the clipboard) as text set insertion point of first document to DateText end tell
特定箇所に埋め込むにはmiのツールと併用する必要がありますかね。
こんなので挿入できるような気がします。
tell application "mi" do shell script "date '+%Y%m%dT%H:%M:%S+09:00' ¦ pbcopy " set DateText to (the clipboard) as text set insertion point of first document to DateText end tell
特定箇所に埋め込むにはmiのツールと併用する必要がありますかね。