Have used Devonthink Pro with applescript for years. Had a script that all of a sudden stopped working and I have no idea why.
First lines of the script are
[b]Tell application “Devonthink Pro”
set thesel to the selection
…
end tell[/b]
When I run this, even though I have clearly selected certain items in my database, I get an error:
error “DEVONthink Pro got an error: Can’t get selection.” number -1728 from selection
This makes no sense to me. Any ideas what I’m doing wrong?