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

 
Script to toggle display of bullets Thread Tools Search this Thread Display Modes
I find that visual distraction is reduced by hiding bullets during certain modes of writing.

At other stages it's slightly clearer to see them.

FWIW, the following toggles bullet display at the document level (but does not override any locally applied styles).

Code:
tell application "OmniOutliner Professional"
	set cBulletState to "item-handle-mode(com.omnigroup.OmniOutliner)"
	set cStateOne to "hover"
	set cStateTwo to "always"
	
	tell style of front document
		set oAttrib to attribute cBulletState
		if (value of oAttrib = cStateOne) then
			set value of oAttrib to cStateTwo
		else
			set value of oAttrib to cStateOne
		end if
	end tell
end tell

--
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: Invert / toggle OmniGraffle selections RobTrew OmniGraffle General 1 2011-11-06 07:25 AM
Looking for script to toggle parallel/sequential vinyl_warrior OmniFocus Extras 5 2011-04-07 07:19 AM
Script to toggle expansion of notes RobTrew OmniOutliner 3 for Mac 0 2010-08-16 10:14 PM
How to Get Rid of Bullets? essiecab OmniOutliner 3 for Mac 1 2007-12-28 02:47 PM
Removing bullets? philonous OmniOutliner 3 for Mac 2 2006-08-01 05:41 PM


All times are GMT -8. The time now is 08:38 PM.


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