自动从Google Chrome添加到macOS Notes


2

如何才能将Google Chrome中的内容(文字,链接,图片)添加到macOS Notes应用中?

(可通过右键单击或通过扩展到Evernote,Milanote等,但不适用于内置Apple的Notes应用程序)

尝试创建服务但失败了。

Answers:


2

这是我粗略的服务工作流程: Automator工作流程

只能添加文本,并创建新笔记。
Apple脚本:

on run {input, parameters}

    tell application "System Events"

        tell process "Notes"

            click menu item "New Note" of menu "File" of menu bar 1
            click menu item "Paste" of menu "Edit" of menu bar 1

        end tell

     end tell
     return input
end run


更新* 2:
要添加图片,只需使用另一个单击菜单项的Apple Script块。并为Notes应用程序添加一些延迟启动。
更新工作流程

on run {input, parameters}

    tell application "System Events"

        tell process "Google Chrome"

            click menu item "Copy" of menu "Edit" of menu bar 1

        end tell

     end tell
     return input
end run

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.