2 years ago soon after the integration was released I made a couple of minor edits to the script at the direction of Apparent Software so that it would recognize new Groups as well as new documents. I think their plan was to make that the “standard” script at some point but I do not know if that happened.
For that reason my script has a portion commented out to remind me of what used to be there before my current version.
This has worked well for over 2 years now.
For what it’s worth the errors in the log do seem to be decreasingly quite notably in frequency - is there some indexing that goes on an thus it is self-repairing?
on performSmartRule(theRecords)
tell application id “DNtp”
repeat with theRecord in theRecords
set itemLink to the reference URL of the theRecord
set thePath to the path of the theRecord
set recordPath to the location of theRecord
set appname to name
tell application “Trickster”
add recent thePath source appname displayPath recordPath callbackURL itemLink bundleID “com.devon-technologies.think3”
end tell
(* set itemLink to the reference URL of parent of theRecord
set thePath to the path of parent of theRecord
set recordPath to the location of parent of theRecord
set appname to name
tell application “Trickster”
add recent thePath source appname displayPath recordPath callbackURL itemLink bundleID “com.devon-technologies.think3”
end tell
*)
end repeat
end tell
end performSmartRule