The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Script to toggle expansion of notes (http://forums.omnigroup.com/showthread.php?t=17391)

RobTrew 2010-08-16 10:14 PM

Script to toggle expansion of notes
 
If you need to rapidly switch back and forth between expansion / concealment of all notes in a large document, you can use an applescript like:

[CODE]tell application id "com.omnigroup.OmniOutlinerPro3"
tell front document
set note display to in line
set refNoteRows to a reference to (rows where note is not "")
set blnExpanded to not (note expanded of first item of refNoteRows)
set note expanded of refNoteRows to blnExpanded
end tell
end tell[/CODE]

[COLOR="White"]--[/COLOR]


All times are GMT -8. The time now is 10:23 PM.

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