nowe things to poprawię skrypt

This commit is contained in:
Maciej Krok 2017-05-20 13:40:44 +02:00
parent 81f38bfdca
commit 03db426e51

View File

@ -22,14 +22,14 @@ using terms from application "Mail"
set this_content to (every character of content of this_message) as Unicode text set this_content to (every character of content of this_message) as Unicode text
if this_content is in {"", "?"} then error if this_content is in {"", "?"} then error
on error error_message on error error_message
set this_content to "" set this_content to "error message:" & error_message
end try end try
set this_content to this_content & " set this_content to this_content & "
------- -------
" & urlText " & urlText
tell application "Things" tell application "Things3"
set toDo to make new to do set toDo to make new to do
set name of toDo to this_subject set name of toDo to this_subject
set notes of toDo to this_content set notes of toDo to this_content