I'd suggest use import hook. Regards, Andreas
On 19/Feb/2010, at 21:46 , Christiaan Hofman wrote: > > On Feb 19, 2010, at 21:42, Maxwell, Adam R wrote: > >> Is that conversion still only done at file opening time? >> > > File opening and import, or of course if you do it explicitly using > the file migration dialog. > > Christiaan > >> >> On 02/19/10 12:40, "Christiaan Hofman" <[email protected]> wrote: >> >>> It's "Local-Url" (case insensitive though), and it's value can be >>> a full path >>> or a file:// URL. You may not see the conversion when you add this >>> to an >>> existing item which already has Bdsk-... fields, or when you don't >>> have the >>> conversion preferences (in Default Fields) set appropriately. >>> >>> Christiaan >>> >>> On Feb 19, 2010, at 21:23, Wesley Fraser wrote: >>> >>>> Thanks Christiaan. I am more than happy avoiding the private >>>> methods, as it >>>> allows me to avoid extra source! >>>> >>>> But I a, not sure how to add files to the localURL as you >>>> mentioned. I have >>>> tried opening up the .bib file, and adding entries like >>>> >>>> Local-Url = {/...path...pdf} >>>> localURL = {/...path...pdf} >>>> >>>> Those dictionaries appear when viewing through bibdesk. But a re- >>>> save does >>>> nothing to create the corresponding BDSK-File entries. >>>> >>>> What am I missing here? >>>> >>>> Thanks! >>>> >>>> >>>> On 2010-02-19, at 12:11 PM, Christiaan Hofman wrote: >>>> >>>>> >>>>> On Feb 19, 2010, at 20:56, Wesley Fraser wrote: >>>>> >>>>>> Hello Bibdesk Devel! >>>>>> >>>>>> I bet a bunch of you are familiar with Quicksilver. Its >>>>>> currently the only >>>>>> way I get around my mac, except when it comes to my bib. I am >>>>>> currently >>>>>> writing a simple quicksilver plugin to allow search and >>>>>> creation of .bib >>>>>> entries (and file saving) from within quicksilver. I figured >>>>>> the best thing >>>>>> to do would be to make this all forward compatible with bibdesk. >>>>>> >>>>>> I can handle entry creation and all that. The only catch is in >>>>>> the >>>>>> Bdsk-File-N entry. I have seen a bunch of stuff about the net >>>>>> stating this >>>>>> is a base64 encoded apple-uid containing string. I understand >>>>>> that. What I >>>>>> can't figure out from looking through the bibdesk-trunk is just >>>>>> what >>>>>> methods are used to encode/decode that string. >>>>>> >>>>>> So can someone either: >>>>>> >>>>>> 1) point out to me what methods are used to encode/decode that >>>>>> string, and >>>>>> in what source files they are contained? >>>>>> 2) With cocoa, explain how one would encode/decode that string? >>>>>> >>>>>> Thanks very much! >>>>>> >>>>>> Wes >>>>> >>>>> It's not supposed to be added outside BibDesk, this is >>>>> considered private to >>>>> BibDesk. Perhaps it would be better to just add files in the >>>>> Local-Url >>>>> field, which will normally be automatically converted to a >>>>> linked file with >>>>> the default settings. But if you really want to know, all the >>>>> code for >>>>> conversion is in BDSKLinkedFile.m (i.p. -[BDSKLinkedAliasFile >>>>> stringRelativeToPath:] and -[BDSKLinkedAliasFile >>>>> initWithBase64String:delegate:]) and NSData_BDSKExtensions.m >>>>> (for base64 >>>>> string encoding). >>>>> >>>>> Christiaan >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------------- >>>>> -- >>>>> Download Intel® Parallel Studio Eval >>>>> Try the new software tools for yourself. Speed compiling, find >>>>> bugs >>>>> proactively, and fine-tune applications for parallel performance. >>>>> See why Intel Parallel Studio got high marks during beta. >>>>> http://p.sf.net/sfu/intel-sw-dev >>>>> _______________________________________________ >>>>> Bibdesk-develop mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop >>>> >>>> >>>> >> -----------------------------------------------------------------------------> >> >> > >> - >>>> Download Intel® Parallel Studio Eval >>>> Try the new software tools for yourself. Speed compiling, find bugs >>>> proactively, and fine-tune applications for parallel performance. >>>> See why Intel Parallel Studio got high marks during beta. >>>> http://p.sf.net/sfu/intel-sw-dev >>>> _______________________________________________ >>>> Bibdesk-develop mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop >>> >>> >>> ------------------------------------------------------------------------------ >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> _______________________________________________ >>> Bibdesk-develop mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev_______________________________________________ >> Bibdesk-develop mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Bibdesk-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bibdesk-develop ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bibdesk-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
