Re: [Bibdesk-users] Local-Url field conversion

2012-10-13 Thread Jan Jakob Bornheim
> > > It looks like you haven't declared the Local-Url field as a local file field > in the Default Fields preferences. Make sure it's added to the custom fields > table with that type. > > Christiaan Thank you. That was it. Surprisingly simple in the end.

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Christiaan Hofman
On Oct 13, 2012, at 1:36, Jan Jakob Bornheim wrote: > > On 2012-10-13, at 1:02 AM, Christiaan Hofman wrote: > >> >> On Oct 13, 2012, at 0:32, Jan Jakob Bornheim wrote: >> >>> On 2012-10-12, at 11:30 PM, Christiaan Hofman wrote: >>> On Oct 12, 2012, at 18:44, Jan Jakob Bornheim w

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Christiaan Hofman
On Oct 13, 2012, at 0:32, Jan Jakob Bornheim wrote: > On 2012-10-12, at 11:30 PM, Christiaan Hofman wrote: > >> >> On Oct 12, 2012, at 18:44, Jan Jakob Bornheim wrote: >> >>> On 2012-10-12, at 6:26 PM, Adam R. Maxwell wrote: >>> On Oct 12, 2012, at 9:03, Jan Jakob Bornheim

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Jan Jakob Bornheim
On 2012-10-12, at 11:30 PM, Christiaan Hofman wrote: > > On Oct 12, 2012, at 18:44, Jan Jakob Bornheim wrote: > >> On 2012-10-12, at 6:26 PM, Adam R. Maxwell wrote: >> >>> >>> >>> On Oct 12, 2012, at 9:03, Jan Jakob Bornheim wrote: >>> Local-Url = {file://localhost/Users/janjak

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Christiaan Hofman
On Oct 12, 2012, at 18:44, Jan Jakob Bornheim wrote: > On 2012-10-12, at 6:26 PM, Adam R. Maxwell wrote: > >> >> >> On Oct 12, 2012, at 9:03, Jan Jakob Bornheim wrote: >> >>> Local-Url = >>> {file://localhost/Users/janjakobbornheim/Dropbox/Juranote/Sources/BGH-2012-09-19-XII-ZR.pdf}, >> >

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Jan Jakob Bornheim
On 2012-10-12, at 6:26 PM, Adam R. Maxwell wrote: > > > On Oct 12, 2012, at 9:03, Jan Jakob Bornheim wrote: > >> Local-Url = >> {file://localhost/Users/janjakobbornheim/Dropbox/Juranote/Sources/BGH-2012-09-19-XII-ZR.pdf}, > > Been a while since I looked, but I think that should be okay. Hav

Re: [Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Adam R. Maxwell
On Oct 12, 2012, at 9:03, Jan Jakob Bornheim wrote: > Local-Url = > {file://localhost/Users/janjakobbornheim/Dropbox/Juranote/Sources/BGH-2012-09-19-XII-ZR.pdf}, Been a while since I looked, but I think that should be okay. Have you tried using a path instead, with no scheme and host?

[Bibdesk-users] Local-Url field conversion

2012-10-12 Thread Jan Jakob Bornheim
Hello, I have, painstakingly, set up an AppleScript that reads my selected Evernote notes (for what it's worth, I have to maintain the Evernote project because Evernote allows a tag hierarchy), and based on certain criteria, will write the content of the note into a bib file. The relevant part

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread FZiegler
Christiaan Hofman wrote: > if (count of linked files) > 0 then > >> set thePath to quoted form of (get POSIX path >> of linked file 1) >> set thePath to do shell script "echo " & >> thePath & "|sed -e >> \"s|$HOME|~

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread Christiaan Hofman
On Nov 29, 2011, at 23:14, FZiegler wrote: > Christiaan Hofman wrote: >> On Nov 29, 2011, at 22:57, FZiegler wrote: >> Well, you could. But it could lead to some inconsistencies in how things work, because BibDesk assumes that they are data. If you don't want to save them, then

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread FZiegler
Christiaan Hofman wrote: > On Nov 29, 2011, at 22:57, FZiegler wrote: > >>> Well, you could. But it could lead to some inconsistencies in how things >>> work, because BibDesk assumes that they are data. If you don't want to save >>> them, then simply don't have linked files in your database, it'

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread Christiaan Hofman
On Nov 29, 2011, at 22:57, FZiegler wrote: > Christiaan Hofman wrote: >> On Nov 29, 2011, at 21:30, FZiegler wrote: >> >>> Christiaan Hofman wrote: On Nov 18, 2011, at 6:58, FZiegler wrote: > 1) The line `set value of field "Bdsk-File-1" to ""' has no effect. It is > meant to

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread FZiegler
Christiaan Hofman wrote: > On Nov 29, 2011, at 21:30, FZiegler wrote: > >> Christiaan Hofman wrote: >>> On Nov 18, 2011, at 6:58, FZiegler wrote: >>> 1) The line `set value of field "Bdsk-File-1" to ""' has no effect. It is meant to erase that field, but it seems it either doesn't or th

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread Christiaan Hofman
On Nov 29, 2011, at 21:30, FZiegler wrote: > Christiaan Hofman wrote: >> On Nov 18, 2011, at 6:58, FZiegler wrote: >> >>> 1) The line `set value of field "Bdsk-File-1" to ""' has no effect. It is >>> meant to erase that field, but it seems it either doesn't or the field gets >>> regenerated on

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread FZiegler
Christiaan Hofman wrote: > On Nov 18, 2011, at 6:58, FZiegler wrote: > >> 1) The line `set value of field "Bdsk-File-1" to ""' has no effect. It is >> meant to erase that field, but it seems it either doesn't or the field gets >> regenerated on every save. Is there a better way that would actual

Re: [Bibdesk-users] Local-Url field

2011-11-29 Thread FZiegler
Christiaan Hofman wrote: > On Nov 18, 2011, at 6:58, FZiegler wrote: > >> 1) The line `set value of field "Bdsk-File-1" to ""' has no effect. It is >> meant to erase that field, but it seems it either doesn't or the field gets >> regenerated on every save. Is there a better way that would actual

Re: [Bibdesk-users] Local-Url field

2011-11-19 Thread FZiegler
Christiaan Hofman wrote: >> >> I don't intend to ever have an entry with more than one linked file, >> btw. To me this contradicts the whole spirit of bibliography: if we have >> two different documents, then they should each have its own entry. >> > > It doesn't matter what you do. I am talking

Re: [Bibdesk-users] Local-Url field

2011-11-19 Thread Christiaan Hofman
On Nov 19, 2011, at 0:32, FZiegler wrote: > Thank you so much for taking the times to educate me; I've happily > adopted all your suggestions. > >> When you use a path in a shell script, you should always quote the path. In >> AppleScript you can conveniently do that by using "quoted form of t

Re: [Bibdesk-users] Local-Url field

2011-11-18 Thread FZiegler
Adam R. Maxwell wrote: >> On the other hand, I *do* often have several entries linking to the same >> file, for practical reasons. (E.g., I've got volumes of collected works, >> or Encyklopädie, from archive.org. Each has its own entry under the >> editor's or collectee's name; but I often have

Re: [Bibdesk-users] Local-Url field

2011-11-18 Thread Adam R. Maxwell
On Nov 18, 2011, at 15:32 , FZiegler wrote: > I don't intend to ever have an entry with more than one linked file. > btw. To me this contradicts the whole spirit of bibliography: if we have > two different documents, then they should each have its own entry. Sometimes you have supporting infor

Re: [Bibdesk-users] Local-Url field

2011-11-18 Thread FZiegler
Thank you so much for taking the times to educate me; I've happily adopted all your suggestions. > When you use a path in a shell script, you should always quote the path. In > AppleScript you can conveniently do that by using "quoted form of thePath". > > Also, there can be multiple linked fi

Re: [Bibdesk-users] Local-Url field

2011-11-18 Thread Christiaan Hofman
On Nov 18, 2011, at 6:58, FZiegler wrote: > Following your advice, I produced the following as my first applescript ever, > and would like your help improving it. > > using terms from application "BibDesk" > on perform BibDesk action with publications thePubs for script hook > theScriptH

Re: [Bibdesk-users] Local-Url field

2011-11-17 Thread FZiegler
Fischlin Andreas wrote: > Yes, AppleScript and check out my AppleScript "Inspect Linked Files" you can > download at http://www.sysecol.ethz.ch/people/afischli/software > > Regards, > Andreas Thanks Andreas! (And on second thought, I think I missed the "Replace All Scope" in Database Find and R

Re: [Bibdesk-users] Local-Url field

2011-11-17 Thread Fischlin Andreas
Yes, AppleScript and check out my AppleScript "Inspect Linked Files" you can download at http://www.sysecol.ethz.ch/people/afischli/software Regards, Andreas ETH Zurich Prof. Dr. Andreas Fischlin Systems Ecology - Institute of Integrative Biology CHN E 21.1 Universitaetstrasse 16 8092 Zurich SW

Re: [Bibdesk-users] Local-Url field

2011-11-17 Thread FZiegler
Christiaan Hofman wrote: >> That was instant to do with find & replace in a text editor. > > Note that BibDesk has that same feature, that you can use for specific fields. I probably missed something, but I could not see how to do it at one stroke for all 6000+ entries in my database. ("Replace

Re: [Bibdesk-users] Local-Url field

2011-11-17 Thread Christiaan Hofman
On Nov 16, 2011, at 21:50, FZiegler wrote: > Christiaan Hofman wrote: > >>> 2. Subsidiary question: while at it, would it be possible for me to >>> switch from having, *written in the .bib file* a Local-Url like >>> >>> file://localhost/Volumes/Home/FZ/Documents/Archive/, (**) >>> >>> to so

Re: [Bibdesk-users] Local-Url field

2011-11-16 Thread FZiegler
Christiaan Hofman wrote: >> 2. Subsidiary question: while at it, would it be possible for me to >> switch from having, *written in the .bib file* a Local-Url like >> >> file://localhost/Volumes/Home/FZ/Documents/Archive/, (**) >> >> to something more portable > > The local URL fields accept al

Re: [Bibdesk-users] Local-Url field

2011-11-16 Thread Christiaan Hofman
On Nov 16, 2011, at 4:24, FZiegler wrote: > I must admit first that I have stayed at Bibdesk 1.3.12 because I'm > sharing my .bib file with others who don't want Mac aliases in it. So > far this hasn't caused problems, but I am beginning to think I should > get on with the program... So, > >

[Bibdesk-users] Local-Url field

2011-11-15 Thread FZiegler
I must admit first that I have stayed at Bibdesk 1.3.12 because I'm sharing my .bib file with others who don't want Mac aliases in it. So far this hasn't caused problems, but I am beginning to think I should get on with the program... So, 1. Main question: is there a simple edit I could make to