DT3 Suggestion: Placeholder for Tags in Smart Rules / Missing date format

Hi guys,

two points as feedback / suggestion:

1.) It would be nice if it is possible to use placeholders for adding tags to an document
2.) I’d like to have a placeholder date option for month name like “March” / “März”

Just curious but which placeholder do you have in mind?

Such a placeholder exists already, see the various date submenus of the “Insert Placeholder” menu.

Hi Christian,

sorry for the second point. I failed to see it.
I always tag documents with year and month like “Rechnung Juni 2016”. I’d like to automate these for certain docs with a smart rule. A very special case my handling :wink:

A simple script rule can perform this too:

property monthNames : {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec"}

on performSmartRule(theRecords)
	tell application id "DNtp"
		repeat with theRecord in theRecords
			set theDate to document date of theRecord
			set theYear to year of theDate
			set theMonth to item (month of theDate) of monthNames
			set tags of theRecord to {theYear as string, theMonth}
		end repeat
	end tell
end performSmartRule

Thanks a lot - works great. I did not think of a script solution.