美文网首页macOS/iOS自动化指南
用automator自拍并保存文件到剪贴板

用automator自拍并保存文件到剪贴板

作者: 鸭梨山大哎 | 来源:发表于2017-02-12 16:35 被阅读13次

    打开automator并新建app
    如图设置


    Paste_Image.png

    代码如下

    on run {input, parameters}
        set thisFile to item 1 of input
        set the clipboard to (read thisFile as TIFF picture)
        return thisFile
    end run
    

    参考
    https://macosxautomation.com/automator/actions.html#workflow-folder-path

    相关文章

      网友评论

        本文标题:用automator自拍并保存文件到剪贴板

        本文链接:https://www.haomeiwen.com/subject/jueaittx.html