On Wed, Feb 11, 2009 at 4:28 PM, Christiaan Hofman <[email protected]>wrote:
>
> On 11 Feb 2009, at 1:10 PM, Miguel Ortiz Lombardia wrote:
>
>
>> Le 11 févr. 09 à 12:05, Christiaan Hofman a écrit :
>>
>>
>>>> Oops! I was convinced it had... but of course you must be right.
>>>> Can this be done via a script-hook attached to 'Remove File or URL'?
>>>>
>>>> Thank you!
>>>>
>>>>
>>>> Miguel
>>>>
>>>
>>> I don't think a remove file/URL script hook should be added. Moreover,
>>> I truly think that deleting the file automatically on disk whenever
>>> the file is removed is very wrong, and I wouldn't want to participate
>>> in enabling it. Note that BD has a Move To Trash contextual menu item
>>> for the linked files. If you want to delete the file from disk in
>>> AppleScript you just simply do that (e.g. using Finder).
>>>
>>> Christiaan
>>>
>>
>>
>> I can understand your point about such script-hook and I agree that
>> the Move to Trash may be useful in a general way. However, I would
>> like to make sure that when I remove a publication from the library
>> the linked files are removed from the disk or at least that such
>> possibility is added as an option. I understand that a file may be
>> linked to other publications, which is possibly the source of your
>> worries. It is not my case (unless there are unknown duplications in
>> my library, which I doubt) but, could it be possible to check if this
>> is the case, that is, if a file is linked to more than one publication?
>>
>> Cheers,
>>
>>
>> Miguel
>>
>
> No. Being linked to another item /in the same file/ is just one of many
> reasons not to do this. It may be in another file, it may be that you're
> linking files used by another program, or just in some personal library of
> yours. The point is that BD is a /citation/ manager, NOT a /file/ manager.
> And the menu item does offer you the option. Again: any automation will NOT
> be an option.
>
> Christiaan
>
Though as you say, you can always do this yourself in the Remove File or
URL script hook. When the field is "Local File" (AOT "Remote URL") the 'old
values' gives a list of paths for the removed files, however any of these
paths may be 'missing value'.
Christiaan
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users