Script no longer works

Hi, had to rebuild my machine and now a script does not work.

I’m using Import & Delete script attached to a Finder folder a per Folder Action help. This is the script:

– DEVONthink - Import & Delete.applescript

– Created by Christian Grunenberg on Fri Mar 26 2010.

– Copyright © 2010-2014. All rights reserved.

on adding folder items to this_folder after receiving added_items


if ( count of added_items) is greater than 0 then

tell application id “DNtp” to launch

repeat with theItem in added_items


set thePath to theItem as text

if thePath does not end with “.download:” and thePath does not end with “.crdownload:” then

tell application id “DNtp”

set theRecord to import thePath to incoming group

if exists theRecord then tell application “Finder” to delete theItem

end tell

end if

end try

end repeat

end if

end try

end adding folder items to

Does it no longer work with DT3 in Mojave?

I cannot see any more up to date versions of this in the script library - in fact there seems to no longer be any scripts for this purpose?


Perhaps you need to give full disk access to DT (add DT to “Total disk access” in System preferences -> Security and privacy -> Privacy. My macOS is in Spanish, I’ve translated the texts but get the idea where to apply it).

That seems to have worked.

Gracias, rfog

1 Like