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-10-02
Description
EagleFiler will create a text file in this iData-like format:
SpamSieve https://c-command.com/spamsieve/ ____________________ EagleFiler https://c-command.com/eaglefiler/ ____________________ DropDMG https://c-command.com/dropdmg/
Installation Instructions · Download in Compiled Format · Download in Text Format
Script
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