On Feb 17, 2012, at 9:43, olmar wrote:

> Well, I moved everything months ago and I decided only now to solve that
> longstanding issue, so no, no backups are available and I don't even
> remember all the paths. I can however check them with a python script I
> found in a previous message.
> 

Did you try moving the .bib file back to the directory of the files? All that 
should be relevant is to get the exact same *relative* paths. The data should 
just remember that as long as the file was not found.

> -> actually I just checked and it doesn't work on Snow Leopard:
> 
> ------
> macpro:~/Downloads me$ echo
> "YnBsaXN0MDDUAQIDBAUIJidUJHRvcFgkb2JqZWN0c1gkdmVyc2lvblkkYXJjaGl2ZXLRBgdUcm9vdIABqAkKFRYXGyIjVSRudWxs0wsMDQ4RFFpOUy5vYmplY3RzV05TLmtleXNWJGNsYXNzog8QgASABqISE4ACgAOAB1lhbGlhc0RhdGFccmVsYXRpdmVQYXRo0hgNGRpXTlMuZGF0YU8RAlIAAAAAAlIAAgAACUZvcnNjaHVuZwAAAAAAAAAAAAAAAAAAAAAAAAAAAABCRAAB"
> | python read_bdsk_file.py 
> failed to decode archive due to error Conversion of string failed. The
> string is empty.
> ------

There's nothing wrong with the python script that does work. The problem is 
with the data. It may not be complete.

> 
> Concerning the solution, I thought it was possible to write the appropriate
> field using AppleScript, but I see the property is read only.

You can wrote it. It's not a field. It is the linked files, which are just file 
objects, those are not read only.

> Maybe it is possible to write from scratch the BSK-field of the raw bibdesk
> file? I can generate the alias from old file name and new path, but how to
> get that bdsk string?
> 
> Thanks
> O.M.


No, that's proprietary. (Well, it's possible, but than you need to write a 
Cocoa program.)

The problem is not writing it. The problem is knowing what item to connect to 
what file. When you know that (in a way a script can figure out) you can use 
AppleScript to reattach the files.

Christiaan


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to