tell application "DEVONthink Pro" tell database 1 -- or whichever database it happens to be set groupSync to first record where name is "Sync" end tell end tell