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

 
Total number of rows? Thread Tools Search this Thread Display Modes
Hi, is there a way to know the following in an OO file (I suppose the only way is via applescript):
- Total number of rows in the file (all levels included)
- Total number of rows of a given level (let's say I want to know how many rows there are in all Level 2s of my document, and I have a document with two Level 1 topics with 7 and 9 children respectively: the number I'm looking for would be 16, that is 7+9 rows in Level 2).

Here's my usage scenario: I'm in film studies and I'm transcribing films, shot by shot. I'm outlining the films in Acts/Sequences/Scenes/Shots and I'd like to know the total number of scenes and the total number of shots in the entire film.

Thanks!
Stefano

Last edited by Armanini; 2007-06-14 at 03:21 AM..
 
A very simple idea: Ad a single column to your outline and go to the inspectors. There you can change the column to numbers and set the summary to total.
Now type in every new row a one (1) in the new column and OO will summarize for you.
 
That should do as a workaround only... But Orson Welles edited 4000+ different shots in Othello... in such a case this workaround wouldn't be enough. Does anybody know how to achieve this via applescript?
Stefano
 
actually, here's a quicker way to do it:



tell application "OmniOutliner Professional"
tell front document
set totalRows to length of (get rows)
set theLevel to text returned of (display dialog "Enter row level: " default answer "") as integer
set theCount to length of (get every row where level is equal to theLevel)
display dialog "Row total: " & totalRows & "
Level " & theLevel & " total: " & theCount

end tell
end tell

Last edited by DerekM; 2007-06-19 at 02:12 PM..
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature requests - merge rows and icons for rows maish OmniOutliner 3 for Mac 0 2008-09-19 07:12 AM
Total Cost for a Resource HunterBoss OmniPlan General 6 2007-07-13 02:01 AM
Finding the total number of existing actions AmberV OmniFocus 1 for Mac 2 2007-06-20 02:52 AM


All times are GMT -8. The time now is 08:03 AM.


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