Title to Filename
Summary: Sets the filename of each selected record to its title.
Requires: EagleFiler
Install Location: ~/Library/Scripts/Applications/EagleFiler/
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.
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 tellLast Modified: 2007-08-17
Running the Script
You can use AppleScript Editor (AppleScript Utility prior to Mac OS X 10.6) to enable Mac OS X’s built-in Script menu. To run the script, just select it from the menu. FastScripts provides a similar menu that supports keyboard shortcuts and other features.