AppleScriptからPagesの新規ファイルを用意し、そこに"Hello"や"Test"などの文言を
追加したいと考えています。
AppleScript
1 activate 2 -- create a new document and store its reference in a variable 3 set thisDocument to make new document 4 -- address the document reference 5 tell thisDocument 6 -- script actions go here 7 end tell 8 9 -- 作成したファイルにテキストを書き込む 10 write "Hello" 11end tell
ですが、Scriptエラーで書き込みができません。
Pagesのファイルに書き込むのはどのように行うのが正解でしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。