Following the discussion of the script in question, I changed "theFile" to "(theFile as file)". The new error message I get is: "BibDesk got an error: Can’t make linked URL into type text."
Best, -Nathan ---------- Nathan A. Paxton Ph.D. Candidate Dept. of Government, Harvard University Resident Tutor John Winthrop House, Harvard University napaxton AT fas DOT harvard DOT edu http://www.fas.harvard.edu/~napaxton = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== If every professor who backed a lunatic politician were to be sacked, half the interesting minds in academia would be lost. - The Economist, 5 Jan 2002 A morning without coffee is like something without something else. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ======================================================================== On 4 Dec 2008, at 12:20 PM, Nathan Paxton wrote: > Okey-dokey, I found the file posted recently, with a script called > LinkedFilesToFields.scpt. I added that to the scripts menu. I tried > to run it. And the following happened. > > AppleScript reported the following error: > Finder got an error: Can’t get container of file "Macintosh > HD:Users:nathanpaxton:Library:texmf:bibtex:bib:disslibrary.bib". > >>> As for keeping these fields, make sure you use the correct >>> settings in the Default Fields preferences for automatic >>> conversions (in particular don't automatically delete URL fields). >>> Updating BD does not make a difference, as you're not changing >>> anything in the BD bundle. > I must have allowed an automatic deletion. > > I don't know any AppleScript at all, and I am sorry for that. I > only really want to have two things happen here: > > 1. I'd like there to be a URL field, so that my .bst can pick it up > and work correctly (as it did before). How can I back convert > my .bib file? > 2. Will I be able to continue having URL/local file fields in > my .bib file in the future? > > Perhaps we could add a small warning to the conversion process, > indicating that allowing the original fields to be deleted will > change the behavior of bibliographic output in one's documents? I > read the "fields are being deprecated" language and that made me > think that they were not necessary anymore.... > > Thanks, Christiaan, in advance for your help. > > Best, > -Nathan > ---------- > Nathan A. Paxton > Ph.D. Candidate > Dept. of Government, Harvard University > > Resident Tutor > John Winthrop House, Harvard University > > napaxton AT fas DOT harvard DOT edu > http://www.fas.harvard.edu/~napaxton > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > ====================================================================== > If every professor who backed a lunatic politician were to be > sacked, half the interesting minds in > academia would be lost. > - The Economist, 5 Jan 2002 > > A morning without coffee is like something without something else. > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > = > ====================================================================== > > On 4 Dec 2008, at 11:56 AM, Christiaan Hofman wrote: > >> Well, just look in the archive of this list and on the Wiki. It >> should be pretty obvious. >> >> As for keeping these fields, make sure you use the correct settings >> in the Default Fields preferences for automatic conversions (in >> particular don't automatically delete URL fields). Updating BD does >> not make a difference, as you're not changing anything in the BD >> bundle. >> >> Christiaan >> >> >> On 4 Dec 2008, at 5:30 PM, Nathan Paxton wrote: >> >>> Thanks! >>> >>> I'm not an Applescript genius, so what are teh names of the >>> scripts? >>> >>> Will these make sure than I don't run into this problem each time >>> I update BD? >>> >>> Best, >>> -Nathan >>> ---------- >>> Nathan A. Paxton >>> Ph.D. Candidate >>> Dept. of Government, Harvard University >>> >>> Resident Tutor >>> John Winthrop House, Harvard University >>> >>> napaxton AT fas DOT harvard DOT edu >>> http://www.fas.harvard.edu/~napaxton >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> When you have to stay eight years away from California, you live >>> in a perpetual state of homesickness. >>> - Ronald Reagan >>> >>> The most courageous act is still to think for yourself. Aloud. >>> -Coco Chanel >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> = >>> ==================================================================== >>> >>> On 4 Dec 2008, at 11:25 AM, Christiaan Hofman wrote: >>> >>>> You can duplicate the linked files/URLs to fields. Best to do >>>> that using AppleScript. I recently posted an applescript on this >>>> list that duplicates the linked files and URLs to fields like >>>> Local-Url and Url. You can also automate the task (for newly >>>> added linked files and URLs) using a script hook. A sample script >>>> for this is linked on the Wiki. >>>> >>>> Christiaan >>>> >>>> On 4 Dec 2008, at 5:16 PM, Nathan Paxton wrote: >>>> >>>>> Hi all, >>>>> >>>>> I've done some searching, but I can't figure out what search >>>>> terms would work best to narrow all of this down. >>>>> >>>>> Here's the problem. I do most of my citation work with natbib, >>>>> using a chicago bst file. The bst is set up to include URLs of >>>>> articles, periodicals, and so forth, where they exist, in line >>>>> with Chicago's style on this sort of thing. So, for example, the >>>>> front page article of today's New York Times should look like >>>>> (in Chicago author-date in-text style): >>>>> >>>>> Vlasic, Bill. 2008. U.A.W. Makes Concessions to Help Automakers. >>>>> New York Times, 3 December 2008. >>>>> http://www.nytimes.com/2008/12/04/business/04auto.html >>>>> (accessed 3 December 2008). >>>>> >>>>> But with the deprecation of the URL field in the most recent >>>>> BibDesk versions, I no longer get the URL and access >>>>> information. How can I restore the stylistically correct behavior? >>>>> >>>>> Best, >>>>> -Nathan >>>>> ---------- >>>>> Nathan A. Paxton >>>>> Ph.D. Candidate >>>>> Dept. of Government, Harvard University >>>>> >>>>> Resident Tutor >>>>> John Winthrop House, Harvard University >>>>> >>>>> napaxton AT fas DOT harvard DOT edu >>>>> http://www.fas.harvard.edu/~napaxton >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> ================================================================== >>>>> If every professor who backed a lunatic politician were to be >>>>> sacked, half the interesting minds in >>>>> academia would be lost. >>>>> - The Economist, 5 Jan 2002 >>>>> >>>>> A morning without coffee is like something without something else. >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> = >>>>> ================================================================== >>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.Net email is sponsored by the Moblin Your Move >>>>> Developer's challenge >>>>> Build the coolest Linux based applications with Moblin SDK & win >>>>> great prizes >>>>> Grand prize is a trip for two to an Open Source event anywhere >>>>> in the world >>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >>>>> Bibdesk-users mailing list >>>>> Bibdesk-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move >>>> Developer's challenge >>>> Build the coolest Linux based applications with Moblin SDK & win >>>> great prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in >>>> the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >>>> Bibdesk-users mailing list >>>> Bibdesk-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win >>> great prizes >>> Grand prize is a trip for two to an Open Source event anywhere in >>> the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >>> Bibdesk-users mailing list >>> Bibdesk-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip for two to an Open Source event anywhere in >> the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ >> Bibdesk-users mailing list >> Bibdesk-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bibdesk-users > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ > Bibdesk-users mailing list > Bibdesk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bibdesk-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bibdesk-users mailing list Bibdesk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-users