打开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
网友评论