I’m failing at a script to copy the styled content of paragraph n (e.g. 2) in an opened document in Ms Word. I want to paste the styled text to another app, e.g. a form open in Safari.
I would greatly appreciate some help here.
Edit: The VBA equivalent would be something like ActiveDocument.Paragraphs(2).Range.Copy
Found it in the AppleScript manual for Word 2014:
copy object text object of paragraph 4 of active document