Moreover the title of the item is often not the same as the title of  
the window, because the latter is cleaned. The windows don't have a  
publication property. I wouldn't know how to do that, because there  
are all kinds of windows.

Christiaan

On 19 May 2007, at 11:56 PM, Alexander H. Montgomery wrote:

> Obviously, if you have non-unique titles or a publication without a
> title, this won't work. Well, it will work with non-unique titles,
> but it'll select all of them.
>
> If the title of the front editing window was the cite key, this could
> be modified to just select the unique publication. That, of course,
> wouldn't work if the cite key hadn't been assigned yet.
>
> I don't know if there's an easy way of exposing directly in
> Applescript "the publication of window 1".
>
> -AHM
>
> On May 19, 2007, at 2:52 PM, Alexander H. Montgomery wrote:
>
>> Here's a hacky way of doing it:
>>
>> tell application "BibDesk"
>>      set frontWindowName to the name of window 1
>>      set theDoc to the document of window 1
>>      set thePubs to (publications of theDoc whose value of field "title"
>> is frontWindowName)
>>      set selection of theDoc to thePubs
>> end tell
>>
>> On May 19, 2007, at 2:07 PM, Adam R. Maxwell wrote:
>>
>>> Can you write an AppleScript to select the frontmost item being
>>> edited
>>> in the main table?  That will cause the preview to display the item
>>> you want.  I don't think it's worth adding to the menus or editor
>>> window, though.
>>>
>>> -- 
>>> Adam
>>>
>>>
>>> On May 19, 2007, at 13:42, Christiaan Hofman wrote:
>>>
>>>> First note that creating the preview is a rather slow process,  
>>>> while
>>>> selecting a window is quick. So I don't think this will work very
>>>> well. Moreover, we already have 2 places where you can view latex
>>>> preview of the (selected) item(s). This seems much more useful  
>>>> to me
>>>> and sufficient.
>>>>
>>>> Christiaan
>>>>
>>>> On 19 May 2007, at 10:38 PM, Adam M. Goldstein wrote:
>>>>
>>>>> Many times I have many "get info" windows open, and want to see  
>>>>> how
>>>>> the one I am looking at currently looks in the LaTeX preview;
>>>>> but in
>>>>> the meantime, I have been browsing around in my BD library,  
>>>>> looking
>>>>> at other references and probably opening up new "get info"  
>>>>> windows.
>>>>>
>>>>> If it is not already available, in which case I will be glad to be
>>>>> redirected to the appropriate documentation, I propose a new
>>>>> feature:
>>>>> preview top bib record. Upon selecting this item from the menu (or
>>>>> using a keyboard combination) the preview for the top-most get  
>>>>> info
>>>>> window will be shown.
>>>>>
>>>>> This is particularly useful with more complicated styles; often I
>>>>> want to see whether I put the right info in the right field, or
>>>>> else
>>>>> the fields are not descriptive enough to know what they really
>>>>> mean,
>>>>> but the preview will decode it for me.
>>>>>
>>>>> -Adam
>>>>> --
>>>>> Dr. Adam M. Goldstein
>>>>> amgoldstein <at> mac <dot> com
>>>>> http://homepage.mac.com/amgoldstein
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------ 
>>>>> -
>>>>> -
>>>>> --
>>>>> ---
>>>>> 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-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>>>>
>>>>
>>>> ------------------------------------------------------------------- 
>>>> -
>>>> -
>>>> ----
>>>> 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-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> -
>>> ---
>>> 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-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>>>
>>
>>
>> --------------------------------------------------------------------- 
>> -
>> ---
>> 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-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>>
>
>
> ---------------------------------------------------------------------- 
> ---
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to