The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Setting AppleScript variable to text of a cell Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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:

Code:
tell application "OmniOutliner Professional"
	tell front document
		set x to text of selected row
	end tell
end tell
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.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting AppleScript variable to text of a cell forum member OmniOutliner 3 for Mac 1 2012-06-29 01:45 PM
Text Editing in Preferences not setting Jolt21 OmniGraffle General 1 2011-04-08 09:21 AM
Setting diagram style through Applescript ? RobTrew OmniGraffle General 2 2011-03-08 05:19 AM
How to group variable lines with a text box in Omnigraffle? Suhanti OmniGraffle General 1 2011-02-24 05:39 AM
OOpro setting Styles with Applescript Simon Knight OmniOutliner 3 for Mac 1 2007-11-30 12:34 AM


All times are GMT -8. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.