Tag With Date
Summary: Assigns a tag for the current date (e.g. “2024-11-21”) to the selected records.
Requires: EagleFiler
Install Location: ~/Library/Scripts/Applications/EagleFiler/
Last Modified: 2024-11-21
Description
This script makes a tag based on the current date (e.g. “2024-11-21”) and assigns it to the selected records. One potential use is if you want to mark records of importance. You could do this with the built-in “flagged” tag, but this script lets you see which records were marked during a particular session. The date format (%Y-%m-%d
) can be edited to add additional text or to format the date differently.
Installation Instructions · Download in Compiled Format · Download in Text Format
Script
tell
application
"EagleFiler"
set
_tagName to
do shell script
"date +'%Y-%m-%d'"
set
_records to
selected records of
browser window
1
repeat with
_record in
_records
set
_tagNames to
_record's
assigned tag names
set
_record's
assigned tag names to
_tagNames & {
_tagName}
end repeat
end tell