Title to Filename
Summary: Sets the filename of each selected record to its title.
Requires: EagleFiler
Install Location: ~/Library/Scripts/Applications/EagleFiler/
Last Modified: 2019-10-02
Description
Suppose that you’ve added a descriptive title to a record and you want to change the filename to match. This script sets the filename to the title; it then makes the title blank, so that it will be linked to the filename—when you rename the file, the title will update.
Installation Instructions · Download in Compiled Format · Download in Text Format
Script
tell
application
"EagleFiler"
set
theRecords
to
selected records
of
browser window
1
repeat
with
theRecord
in
theRecords
set
theTitle
to
theRecord's
title
set
theRecord's
filename
to
theTitle
set
theRecord's
title
to
""
end
repeat
end
tell