Applescript help
Jon Muller
j.muller at comcast.net
Fri Nov 21 14:41:57 PST 2003
I have created a rather complicated boiler plate document that has
various flush and indented paragraphs. Each paragraph occupies a row.
The following script is from the OO site, which I modified so that when
I run it, any row that has an unchecked status box will be deleted.
tell front document of application "OmniOutliner 2.2.6"
delete (every row whose state is unchecked)
end tell
I then export the outline to an RTF and print the document.
Unfortunately, the link between the parent and child checkboxes means
that if I want the parent to print, I have to check it, causing all the
children to "check-up", which I may not want. I then have to to
through and uncheck all the children I do not want printed.
Ok. So my proposed solution was to create a new column to the left of
the paragraphs and fill it with check-off boxes. There is no
parent-child link to these boxes so I am free to check whatever I want.
The new column is titled "Print".
The problem is that I know virtually nothing about Applescript and do
not know how modify the above script to look at the checkboxes in the
Print column, instead of the "state" checkboxes. Any of you
Applescript whizzes out there know if this can be done and what should
be added to make it work?
Jon Muller
More information about the OmniOutliner-Users
mailing list