text
stringlengths
0
15.7k
source
stringlengths
6
112
property one_highlight_title_wrap_mid : "\" style=\"text-decoration: none\">"
skim-to-evernote.scpt
property one_highlight_title_wrap_back : "</a>"
skim-to-evernote.scpt
property one_highlight_body_wrap_front : "<b><span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property one_highlight_body_wrap_back : "</span></b>"
skim-to-evernote.scpt
property one_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property one_highlight_page_abbr : "<font size=\"1\" color=\"#4C4C4C\">("
skim-to-evernote.scpt
property one_highlight_page_wrap_back : ")</font>"
skim-to-evernote.scpt
property two_highlight_prefix : "<p style=\"font-size: 16px;\">"
skim-to-evernote.scpt
property two_highlight_title_wrap_front : "<a href=\""
skim-to-evernote.scpt
property two_highlight_title_wrap_mid : "\" style=\"text-decoration: none\">"
skim-to-evernote.scpt
property two_highlight_title_wrap_back : "</a>"
skim-to-evernote.scpt
property two_highlight_body_wrap_front : "<b><span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property two_highlight_body_wrap_back : "</span></b>"
skim-to-evernote.scpt
property two_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property two_highlight_page_abbr : "<font size=\"1\" color=\"#4C4C4C\">("
skim-to-evernote.scpt
property two_highlight_page_wrap_back : ")</font>"
skim-to-evernote.scpt
property three_highlight_prefix : "<p style=\"font-size: 16px;\">"
skim-to-evernote.scpt
property three_highlight_title_wrap_front : "<a href=\""
skim-to-evernote.scpt
property three_highlight_title_wrap_mid : "\" style=\"text-decoration: none\">"
skim-to-evernote.scpt
property three_highlight_title_wrap_back : "</a>"
skim-to-evernote.scpt
property three_highlight_body_wrap_front : "<b><span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property three_highlight_body_wrap_back : "</span></b>"
skim-to-evernote.scpt
property three_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property three_highlight_page_abbr : "<font size=\"1\" color=\"#4C4C4C\">("
skim-to-evernote.scpt
property three_highlight_page_wrap_back : ")</font>"
skim-to-evernote.scpt
property four_highlight_prefix : "<p style=\"font-size: 16px;\">"
skim-to-evernote.scpt
property four_highlight_title_wrap_front : "<strong>"
skim-to-evernote.scpt
property four_highlight_title_wrap_back : "</strong>"
skim-to-evernote.scpt
property four_highlight_body_wrap_front : "<span style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property four_highlight_body_wrap_back : "</span>"
skim-to-evernote.scpt
property four_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property four_highlight_page_abbr : ""
skim-to-evernote.scpt
property four_highlight_page_wrap_back : ""
skim-to-evernote.scpt
property five_highlight_prefix : "<p style=\"font-size: 16px;\">"
skim-to-evernote.scpt
property five_highlight_title_wrap_front : "<a href=\""
skim-to-evernote.scpt
property five_highlight_title_wrap_mid : "\" style=\"text-decoration: none\">"
skim-to-evernote.scpt
property five_highlight_title_wrap_back : "</a>"
skim-to-evernote.scpt
property five_highlight_body_wrap_front : "<span style=\"color:#CC7A29\" style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property five_highlight_body_wrap_back : "</span>"
skim-to-evernote.scpt
property five_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property five_highlight_page_abbr : "<font size=\"1\" color=\"#4C4C4C\">("
skim-to-evernote.scpt
property five_highlight_page_wrap_back : ")</font>"
skim-to-evernote.scpt
property six_highlight_prefix : "<p style=\"font-size: 16px;\">"
skim-to-evernote.scpt
property six_highlight_title_wrap_front : "<a href=\""
skim-to-evernote.scpt
property six_highlight_title_wrap_mid : "\" style=\"text-decoration: none\">"
skim-to-evernote.scpt
property six_highlight_title_wrap_back : "</a>"
skim-to-evernote.scpt
property six_highlight_body_wrap_front : "<span style=\"color:#B00000\" style=\"font-family: 'Helvetica Neue';\">"
skim-to-evernote.scpt
property six_highlight_body_wrap_back : "</span>"
skim-to-evernote.scpt
property six_highlight_page_wrap_front : ""
skim-to-evernote.scpt
property six_highlight_page_abbr : "<font size=\"1\" color=\"#4C4C4C\">("
skim-to-evernote.scpt
property six_highlight_page_wrap_back : ")</font>"
skim-to-evernote.scpt
set base_path to my get_base_path()
skim-to-evernote.scpt
if every note of front document = {} then convert notes front document
skim-to-evernote.scpt
save front document
skim-to-evernote.scpt
return msg & " in Pre-Processing."
skim-to-evernote.scpt
set pdf_name to (name of front document)
skim-to-evernote.scpt
set _file to (path of front document)
skim-to-evernote.scpt
set file_url to my encode_text(_file, false, false)
skim-to-evernote.scpt
set skimmer_url to "skimmer://" & file_url & "?page="
skim-to-evernote.scpt
set all_notes to every note of front document
skim-to-evernote.scpt
set notes_text to my get_header(export_style, "Text Notes")
skim-to-evernote.scpt
set notes_anchor to my get_header(export_style, "Topics")
skim-to-evernote.scpt
set notes_underline to my get_header(export_style, "Underlined")
skim-to-evernote.scpt
set notes_strikethru to my get_header(export_style, "Strike-Through")
skim-to-evernote.scpt
set notes_highlight to my get_header(export_style, "Outline")
skim-to-evernote.scpt
set {_text_, _anchor_, _underline_, _strikethru_, _highlight_} to {false, false, false, false, false}
skim-to-evernote.scpt
repeat with i from 1 to count of all_notes
skim-to-evernote.scpt
set _note to item i of all_notes
skim-to-evernote.scpt
set _page to index of page of _note
skim-to-evernote.scpt
set real_page to _page as string
skim-to-evernote.scpt
set this_url to skimmer_url & _page
skim-to-evernote.scpt
if type of _note is text note then
skim-to-evernote.scpt
set note_text to text of _note
skim-to-evernote.scpt
set notes_text to notes_text & (my get_annotation_hyperlink((type of _note), "", note_text, this_url, real_page))
skim-to-evernote.scpt
set _text_ to true
skim-to-evernote.scpt
else if type of _note is anchored note then
skim-to-evernote.scpt
set title_text to text of _note
skim-to-evernote.scpt
set note_text to extended text of _note
skim-to-evernote.scpt
set notes_anchor to notes_anchor & (my get_annotation_hyperlink((type of _note), title_text, note_text, this_url, real_page))
skim-to-evernote.scpt
set _anchor_ to true
skim-to-evernote.scpt
else if type of _note is underline note then
skim-to-evernote.scpt
set notes_underline to notes_underline & (my get_annotation_hyperlink((type of _note), "", note_text, this_url, real_page))
skim-to-evernote.scpt
set _underline_ to true
skim-to-evernote.scpt
else if type of _note is strike out note then
skim-to-evernote.scpt
set notes_strikethru to notes_strikethru & (my get_annotation_hyperlink((type of _note), "", note_text, this_url, real_page))
skim-to-evernote.scpt
set _strikethru_ to true
skim-to-evernote.scpt
else if type of _note is highlight note then
skim-to-evernote.scpt
set rgba to color of _note
skim-to-evernote.scpt
set rgb to items 1 thru 3 of rgba
skim-to-evernote.scpt
set hex to my RBG_to_HTML(rgb)
skim-to-evernote.scpt
set fave_colors to favorite colors
skim-to-evernote.scpt
set title_text to my color2text(rgba, fave_colors)
skim-to-evernote.scpt
set notes_highlight to my notes_highlight & (my get_annotation_highlight(rgba, fave_colors, title_text, note_text, this_url, real_page, hex))
skim-to-evernote.scpt
set _highlight_ to true
skim-to-evernote.scpt
set final_text to ""
skim-to-evernote.scpt
if _text_ = true then set final_text to final_text & notes_text
skim-to-evernote.scpt
if _anchor_ = true then set final_text to final_text & notes_anchor
skim-to-evernote.scpt
if _underline_ = true then set final_text to final_text & notes_underline
skim-to-evernote.scpt
if _strikethru_ = true then set final_text to final_text & notes_strikethru
skim-to-evernote.scpt
if _highlight_ = true then set final_text to final_text & notes_highlight
skim-to-evernote.scpt