将文件批量添加到印象笔记

使用这个功能可以批量导入一些网页什么的!
每一个文件就是一条单独的笔记。
打开mac os的script edit复制粘贴运行就可以了!

set this_folder to (choose folder with prompt "Pick the folder containing the files to process:") as string
tell application "System Events"
    set these_files to every file of folder this_folder
end tell
repeat with i from 1 to the count of these_files
    set this_file to (item i of these_files as alias)
    tell application "Evernote"
        create note from file this_file
    end tell
    
end repeat

你可能感兴趣的:(将文件批量添加到印象笔记)