Duplicating a group into another database by drag’n’drop keeps replicants intact. But using duplicate
in AppleScript turns replicants into duplicates.
Could this please be changed, so that duplicating via AppleScript keeps replicants?
Duplicating a group into another database by drag’n’drop keeps replicants intact. But using duplicate
in AppleScript turns replicants into duplicates.
Could this please be changed, so that duplicating via AppleScript keeps replicants?
Please post the source of the script so that we can reproduce this, thanks!
This script turns replicants into duplicates - while duplicating via drag’n’dropping keeps them intact.
tell application id "DNtp"
try
set theRecords to selected records
if theRecords = {} then error "Please select some records"
set theGroup to display group selector "Duplicate to:"
repeat with thisRecord in theRecords
duplicate record thisRecord to theGroup
end repeat
on error error_message number error_number
if the error_number is not -128 then display alert "DEVONthink" message error_message as warning
return
end try
end tell
And what’s selected before using this script? Multiple identical replicants?
A group that contains subgroups and replicated records
I’ll check this tomorrow.
And fixed.