AppleScript questions

Timothy J. Wood tjw at omnigroup.com
Fri Aug 22 11:33:03 PDT 2003


On Friday, August 22, 2003, at 10:20  AM, James Spahr wrote:
>> Wonderful.  The only problem I can't figure out is how to select the
>> new row once it's been moved.  The row doesn't stay selected, and
>> since I still can't figure out how to extract the row indices, I'm 
>> stuck.
>
> Yes. I've been complaining for months about this. (at least I think we 
> are talking about the same thing).
>
> 1) the only way to get the index number is to walk the outline and 
> compare references. (yuk)
> 2) index numbers change after re-ordering. So we need an additional 
> uid property. I've been a squeaky wheel on the uid property because it 
> causes me the most headaches, and it might be really easy to add. 
> (maybe, hopefully)
>
> I don't know of a way to set the row to be selected and ready for 
> editing (which is what I assume you are talking about)

   Mac OS X 10.2 added support in Cocoa scripting for a unique id object 
specifier type.  I'm (strongly) hoping to add support for that to our 
next major release (when we'll actually be able to require 10.2 as the 
minimum system).

-tim




More information about the OmniOutliner-Users mailing list