Newest of Newbie questions

I’m trying to create a simple script to open DTO:

tell application “Finder”
open application “DEVONthink Pro”
end tell

When I run the script I get an AppleScript error:

DEVONthink Pro got an error: Can’t continue open.

What am I doing wrong???

This will work.

tell application id "com.devon-technologies.thinkpro2"
end tell


Just a note: You don’t need to use the Finder as an intermediary. Just talk directly to the application.

You could use the less common form of application id as Greg did or the more common method of the application method shown here…

tell app "DEVONthink Pro"
-- Add your stuff here
end tell

Cheers! 8^)

Thank you both for your help…feel like a bit of an idiot!


It’s no problem, Barry. No need to feel dumb, especially if it’s new territory. An awesome resource for scripting is also at MacScripter. Have fun! :smiley: