AppleScript to get selection

T

Tobias Weber

Hi,
never scripted Word before, the object model looks rather...complicated.
All I want is the selected text in an AppleScript string, sans
formatting, without supporting multiple/discontinuous selections. Kind
of the equivalent of the follwing:

tell application "Microsoft Excel"
set theText to the value of the first cell of selection
end tell
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top