On 11 Feb 2009, at 10:20 AM, Miguel Ortiz Lombardia wrote:

> Hi,
>
> I have one applescript that I use to delete linked files from a
> publication. Although I sometimes keep this publication in my library,
> I normally use the script as a previous step to delete the publication
> itself. The idea is not to leave unwanted pdf files in the disk.
>
> This script doesn't work with BibDesk 1.3.19 (1387) (I think it was a
> nightly from late December, when pdf DOI parsing was added, not that I
> say this has anything to do, just to put a date), ie. it does remove
> the file from the publication entry but it does not delete it from the
> disk as it used to.

You're wrong there. It never deleted the file from disk. And it also  
never should.

Christiaan

> Has anything changed in BibDesk to explain why the script doesn't work
> as previously?
>
> Here goes the script:
>
> tell application "BibDesk"
>       
>       if (count of documents) = 0 then
>               return
>       end if
>       set thePublications to selection of document 1
>       repeat with thePub in thePublications
>               tell thePub to delete linked files
>       end repeat
>       
> end tell
>
>
> Best,
>
>
> Miguel
> --
> Miguel Ortiz Lombardía
> Architecture et Fonction des Macromolécules Biologiques
> UMR6098 ( CNRS, U. de Provence, U. de la Méditerranée )
> Case 932
> 163 Avenue de Luminy
> 13288 Marseille cedex 9
> France
> Tel : +33(0) 491 82 55 93
> Fax: +33(0) 491 26 67 20
> e-mail: [email protected]
> Web: http://www.pangea.org/mol/spip.php?rubrique2
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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

Reply via email to