:いくつかの情報源によるとApplescriptで新しい画像を挿入するにはどうすればいいですか?私は、次のAppleScriptを持っている
tell application "Microsoft Excel"
tell active workbook
make new picture at end with properties {save with document:true, file name:"/Users/yuval/Pictures/foobar.jpg"}
end tell
end tell
を、このは動作するはずです。
は、しかし、私は私が説明で
Microsoft Excel got an error: Can’t make class picture.
メッセージを取得するスクリプトを実行するたびに、私は検索の2時間後にエラー
error "Microsoft Excel got an error: Can’t make class picture." number -2710 from picture to class
を参照してください、私は何を絶対に見当もつかないする。どんな助けでも大歓迎です!
詳細: は、Mac OS X上でのMicrosoft Excel 2011を実行して10.7ライオン
POSIXパスをHFSパスに変更すると、私の問題が解決しました。再び、ありがとうございました! –