OS10.2.8, applescript 1.9, dual 400mhz G4
I have written the following code to move one word of a microsoft word document to another spot within the same document. I open the desired word document and then whenever I execute the code I get the error, “can’t get word 1 of text body of document 1”
There must be some basic terminology I am missing because this code is copied almost directly out of the applescript language guide. Any help would be greatly appreciated.
tell front document of application “Microsoft Word”
move word 1 of text body to before word 4 of text body
end tell
Many thanks in advance!