先日紹介した超簡単Evernoteメモスクリプト。
Evernoteへ超絶簡単にメモ出来るスクリプトがとにかく素晴らしすぎる!
このスクリプトをちょいと改造してやりました。
今回変更したのは以下の点。
- 1メモ1ノートに変更(メモするたびにノートが増えます)
- ノートのタイトルは記録日時(Fasteverと同じフォーマット)
- メモするノートブックをかえた(Fasteverと同じ所に)
Fasteverの素晴らしさに改めて惚れた
Fasteverで日時を入れてからメモする。これと同じ形式でメモをとれるようにしたかったのです。これ、iPhone版のEvernoteでログを見る時にすんごく見やすくて便利なのです。
詳しくはまた次回記事にて。
改造版Evernoteメモスクリプト
これをコピペする!
それ以外のやり方はEvernoteへ超絶簡単にメモ出来るスクリプトがとにかく素晴らしすぎる!を参照。
property nb : "..FEinbox" (* BEGIN HANDLER CALL NOTE: I have added a new portion to the script so that users who aren't familiar with how to use a handler can run the Script directly and check it out. If you'd like to use this as a handler in your own AppleScript, Just delete or comment out the portion of code between "BEGIN HANDLER CALL" and "END HANDLER CALL"! *) set notetext to text returned of (display dialog "Diary Entry" default answer "") my handle_string(notetext) on handle_string(notetext) if notetext is not "" then CreateDailyEvernote(notetext) end if end handle_string (* END HANDLER CALL *) on CreateDailyEvernote(txt) set t to do shell script "date +'%Y/%m/%d %H:%M:%S'" set timeStr to time string of (current date) tell application "Evernote" set foundNotes to find notes "notebook:\"" & nb & "\"" & " intitle:\"" & t & "\"" set found to ((length of foundNotes) is not 0) if not found then set curnote to create note with text txt title t notebook nb else repeat with curnote in foundNotes tell curnote to append text txt end repeat end if end tell end CreateDailyEvernote
最初に改造したのはちょーーーテキトーで、そしたら@rashita2さんがさらにちょろっと改良してくれました。
かってに改竄 「Evernoteへ超絶簡単にメモ出来るスクリプトがとにかく素晴らしすぎる! | goryugo, addicted to Evernote」を読んで – R-style 待合室
br タグ、入ってなかったんですね。すみません。pre タグの中でも消えてしまうとは。。。
ほお、activateも消した方が良さそうだな。てかノートブックの指定すらオレは何も気にせずそのままにしてたんだな、と。
自分のテキトーさ加減を思い知りましたが、それによって色々学ぶ事も出来ました。
こんな状態でも、公開さえしておけば、誰かの役に立つかもしれない。そして、誰かがもっと便利なモノにしてくれるかもしれない。とにかく、しょぼかろうとなんだろうと、恥をさらす事になろうとも、出して出して出しまくる事がインターネッツな世界では大事なんだなと思い知りました。