Menu

#487 Applescript for removal and reentry of @comment fields

closed
nobody
None
5
2008-02-27
2008-02-27
Anonymous
No

I want to use the same .bib file in both BibDesk and JabRef. The easiest way to accomplish this would probably be the following.

It would be nice to make a AppleScript run from BibDesk everytime a file is opened or closed. At closure it takes the BibDesk specific @comments and places them in a separate text file, while adding the JabRef ones. At opening it takes the JabRef ones and places them in a separate text file while attaching the BibDesk ones.

This should be easy for anyone knowing how to program Applescripts.

Best wishes,
tn@s3.kth.se

Discussion

  • Christiaan Hofman

    Logged In: YES
    user_id=1162009
    Originator: NO

    Strongly disagree with this one, this is messy. Moreover I really don't want to mess more with the default opening/saving, by doing an extra parsing of the data before reading or after saving. You should just create your own scripts and do the conversion yourself. You can open using a filter in bibdesk to make this somewhat easier, and you can use the Save Document script hook. More will not be done.

     
  • Christiaan Hofman

    • status: open --> closed
     

Log in to post a comment.