Applescript question
Jan Erik Moström
lists at mostrom.pp.se
Mon Dec 5 07:56:25 PST 2005
I have an applescript that I use to change the style of different rows based
on som criteria. This works just fine except that I can't remove the custom
style from one row.
I use this
tell application "OmniOutliner Professional"
set workDoc to front document
repeat with curRow in (every row of workDoc)
remove every named style of style of curRow from named styles of
style of curRow
end repeat
end tell
to remove the named style on all items, and all styles are removed except for
one line. Any idea what could be wrong?
I've checked the style for this row and it has the named style set.
jem
--
Jan Erik Moström, www.mostrom.pp.se
More information about the OmniOutliner-Users
mailing list