![]() tell application "System Events" if not (exists process "DEVONthink Pro Office") then tell application id "2" to activate end if end tell - Import the file tell application id "2" set theDatabase to open database "~/DEVONthink/Finances. Any help is appreciated! Jon Code: Select all - Grab the containing folder set theFolder to item 3 of inputAttributes - Check to see if theFile is a file or folder tell application "Finder" tell application "System Events" if theFile is package folder or kind of theFile is "Folder" or kind of theFile is "Volume" then set isFolder to true else set isFolder to false end if end tell end tell - Launch DEVONthink if it isn't already open. ![]() The problem is that when it is a folder, I have been unable to enumerate the contents of the folder so that I can add each one to DTP. I believe the code works correctly to identify whether theFile is a file or a folder. If theFile is a file, it should just add the file to the existing Financial Records Group. If the Group doesn't exist in DTP, it should create a new one. For each file within the folder, it should import into DEVONthink Pro inside existing Groups based on the name of the folder. DEVONthink: 3.9: macOS Mojave: DEVONthink To Go: 3.6.4: iOS 14.0: Japanese versions Legacy versions for older operating systems. I have seven in mine, presently totalling 7.66 GB. DEVONthink usually creates a folder called Databases inside your user folder on your Mac, and that is where your databases live locally. It brings new features including support for multiple windows and the pointer on iPadOS, dark mode, and context menus. An easy option is using a Bonjour sync when you and your wife have your devices on, running DEVONthink, on your local network. If theFile is a folder, the script should enumerate the files within the folder. Sync your databases with DEVONthink for Mac or other devices running DEVONthink To Go WHAT'S NEW New Improved Fixed Removed Known Issues VERSION 3.0 DEVONthink To Go 3.0 has been greatly improved over version 2.x. In this screencast, Todd takes you on a tour of the app and shows you how someone might use DEVONthink To Go as their primary database on iOS, separate from the desktop application. It also requires purchase of the Pro Pack (see DTTGs Settings >. The goal of this script is to identify if a new item in a Hazel folder is a file or a folder. Enter DEVONthink To Go 3 for iOS, which adds a number of key features previously only available on the Mac version. Only apps supporting the iOS Document Provider can access items in DEVONthink To Go. I have gone down several different paths with examining the contents of theFile. I feel like I've gone down a rabbit hole on this one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |