Setting note font

BJ Terry bjterry at adelphia.net
Wed Jan 21 10:42:12 PST 2004


tell application "OmniOutliner"
	set the size of note of every row of document 1 to mySize
end tell

Using "every" you can set a property of multiple elements with one 
statement. It's also much faster, as it only has to send 1 apple-event 
instead of 1 for each row. Note is a text object, so you can use all 
the properties and commands in OO's extended text suite.

'BJ

On Jan 21, 2004, at 5:18 AM, Jan Erik Moström wrote:

> I seem to remember that there was a way to set the note font/size for
> all notes in a document without using a loop, unfortunately I'm not 
> able
> to figure out the syntax.
>
> Do I remember wrong (I have to use a loop) or could someone tell me how
> to write it?
>
>                     jem
> -- 
> Jan Erik Moström   jem at mostrom.pp.se    www.mostrom.pp.se
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users
>




More information about the OmniOutliner-Users mailing list