-- Export URLs and Titles to File -- https://c-command.com/scripts/eaglefiler/export-urls-and-titles-to-file -- Summary: Creates a text file with the URLs and titles of the selected records. -- Requires: EagleFiler -- Install Location: ~/Library/Scripts/Applications/EagleFiler/ -- Last Modified: 2019-05-24 set _fileName to choose file name with prompt "Export Titles and URLs" default name "Records.txt" tell application "EagleFiler" set _records to selected records of browser window 1 set _file to open for access _fileName with write permission set _lf to ASCII character 10 repeat with _record in _records set _title to _record's title write _title to _file as «class utf8» write _lf to _file set _url to _record's source URL write _url to _file as «class utf8» write _lf to _file write _lf to _file write "____________________" to _file write _lf to _file write _lf to _file end repeat close access _file end tell