On May 19, 2007, at 5: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
>>

This Applescript method will definitely be sufficient---"find  
frontmost publication" is probably better anyhow than preview alone,  
since then one can delete, drag into a group, add key word, etc.,  
etc. once it is found and selected.

Thanks for this!

-Adam G
--
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

Reply via email to