Alternatives for achieving transclusion within DT3 (wiki post)

The script depends on the selection and on windows but the selection is not identical to the theRecords parameter (and smart rule scripts should never depend on the user interface). You can test smart rule scripts like this in the AppleScript editor:

tell application id "DNtp" to my onPerformSmartRule(selection as list)

on performSmartRule(theRecords)
	...
end performSmartRule
2 Likes