Hello.
I’m new to scripting and am looking for something that I think is really basic. I just want to tell Word to delete all the text from the current document, then insert one line of text, then insert a second line of text two lines below that. Something like this (only with the correct syntax):
Tell application “Microsoft Word”
delete all text of current document
insert text “I am the first line” at beginning of current document
hit return
hit return
insert text “I am the second line”
end tell
Any help would be greatly appreciated.
Thanks,
- Bruce