-- Downloaded From: http://c-command.com/scripts/eaglefiler/change-title-to-title-case -- Last Modified: 2010-11-27 tell application "EagleFiler" set _records to selected records of browser window 1 repeat with _record in _records set _title to _record's title set _newTitle to my titleCase(_title) set _record's title to _newTitle end repeat end tell on titleCase(_string) set _code to "import sys; print sys.argv[1].title()" set _script to "/usr/bin/python -c " & _code's quoted form & " " & _string's quoted form return do shell script _script end titleCase