Hi trying to insert an image to word document at a specific paragraph. using the below script > on run argv
set targetParagraph to item 1 of argv as number
set imageName to item 2 of argv
tell application "Microsoft Word"
activate
tell active document
activate
set x to text object of paragraph targetParagraph
make new inline picture at x with properties {file name:imageName, save with document:true}
end tell
end tell
end run
Facing erro: Cant make or move that element into that container (-10024)