I just committed an implementation of the publication property for  
the window (as well as an author for those windows). There are  
several things that could have gone wrong with your try, leaving SE  
open might be one of them.

You know what's going wrong with setSelection on Leopard? Doesn't it  
return an array of index specifiers anymore?

The problem with external items is that they are not scriptable at  
all. They have no container, and AS objects need one.

Christiaan

On 20 May 2007, at 1:49 AM, Adam R. Maxwell wrote:

>
> On May 19, 2007, at 16:26, Christiaan Hofman wrote:
>
>> I wouldn't return an index, but rather the pub itself.
>
> Well, that's what I tried at first, but it didn't work (the class
> wasn't recognized).  I think now it may have been due to leaving
> Script Editor open while modifying the sdef/recompiling.  The -
> [BibDocument setSelection:] method is also broken on Leopard (or
> fixed, depending on your POV).
>
>> The index
>> could always be derived in AS. Note that this would not work for
>> external items.
>
> Is there a key that would work for external items?  Or could editors
> be another scriptable object?
>
> -- 
> Adam


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to