1
ドキュメントをWordドキュメントの先頭ではなく末尾に挿入する方法は?
AppleScriptを使用してWord文書を別のWord文書に挿入する方法を最終的に理解しましたが、以下のコードはそれを文書の最後ではなく最初に追加します(もちろん、受信文書にテキストがあると仮定してで始まる)。 on AddAttachmentFileToWordDoc(FilePath) tell application "Microsoft Word" set ContTemp to content of text object set StartRange to (count of ContTemp) - 1 set endrange to StartRange set theRange to create range start StartRange end endrange tell theRange insert file at end file name (FilePath as text) end tell end tell …