Save a List of Your Open Tabs in Safari into Evernote – Japanese Language

Description

Japanese version of the current Save a List of Your Open Tabs in Safari into Evernote.

The Code

(*
http://veritrope.com
Safari URLs List to Evernote Exporter -- Japanese
Version 1.0
September 20, 2010
Project Status, Latest Updates, and Comments Collected at:
http://veritrope.com/tips/safari-tabs-to-evernote

=============================================
WITH GREAT THANKS TO SYNKURO FOR HIS TRANSLATION
=============================================

Installation: Just double-click on the script!

FastScripts Installation (Optional, but recommended):
--Download and Install FastScripts from http://www.red-sweater.com/fastscripts/index.html
--Copy script or an Alias to ~/Library/Scripts/Applications/Safari
--Set up your keyboard shortcut

CHANGELOG:

1.00    INITIAL RELEASE
*)

set url_list to {}
set the date_stamp to ((the current date) as string)
set NoteTitle to "Safari タブ URL リスト:" & the date_stamp
tell application "Safari"
    activate
    set safariWindow to window 1
    repeat with w in safariWindow
        try
            repeat with t in (tabs of w)
                set TabTitle to (name of t)
                set TabURL to (URL of t)
                set TabInfo to ("" & TabTitle & return & TabURL & return & return)
                copy TabInfo to the end of url_list
            end repeat
        end try
    end repeat
end tell

-- convert url_list to text
set old_delim to AppleScript's text item delimiters
set AppleScript's text item delimiters to return
set url_list to url_list as text
set AppleScript's text item delimiters to old_delim

tell application "Evernote"
    set EVNote to (create note with text url_list title NoteTitle)
end tell