Hi
I have a very simple question.
I am creating an AppleScript which will speak the text in the currently selected cell of OO Pro. However I can't figure out how to set a variable in the AppleScript to the text of the currently selected row :)
This for example:
Doesn't work.
I know that the ability to speak the text of the currently selected cell is already built into OO P (Edit menu -> Speech -> Start Speaking) but I wish to perform some work on the text prior to speaking, substituting some words in the text, also I wish to be able to change the speed of the speech. So for these reasons I do wish to do this with an AppleScript.
Thank you for any help you can give.
I have a very simple question.
I am creating an AppleScript which will speak the text in the currently selected cell of OO Pro. However I can't figure out how to set a variable in the AppleScript to the text of the currently selected row :)
This for example:
Code:
tell application "OmniOutliner Professional" tell front document set x to text of selected row end tell end tell
I know that the ability to speak the text of the currently selected cell is already built into OO P (Edit menu -> Speech -> Start Speaking) but I wish to perform some work on the text prior to speaking, substituting some words in the text, also I wish to be able to change the speed of the speech. So for these reasons I do wish to do this with an AppleScript.
Thank you for any help you can give.