Quantcast
Channel: DEVONtechnologies Community - Latest posts
Viewing all articles
Browse latest Browse all 16167

Hope to have settings about Global Inbox

$
0
0

I use this script to finish a file move action, hope it can help someone, which will move files from a temp inbox to Global Inbox:

  1. config smart rules,
    image

  1. paste the apple script
tell application "Finder"
    -- Path to the source folder
    set sourceFolder to POSIX file "/Users/{YOUR_USERNAME}/Documents/Devonthink Import Inbox/" as alias
    
    -- Path to the destination folder
    set destinationFolder to POSIX file "/Users/{YOUR_USERNAME}/Library/Application Support/DEVONthink 3/Inbox" as alias
    
    -- Retrieve all items in the source folder
    set itemsToMove to every item of sourceFolder
    
    -- Loop through each item and move it to the destination folder
    repeat with anItem in itemsToMove
        move anItem to destinationFolder with replacing
    end repeat
end tell

Viewing all articles
Browse latest Browse all 16167

Trending Articles