Mac OS X 在Finder新建文本文件
Automator 新建一個(gè) Application
<img src="https://pic1.zhimg.com/78ce627667e5b8c7ab1bcff125e19968_b.png" data-rawwidth="97" data-rawheight="109" class="content_image" width="97">
添加一個(gè)動(dòng)作 "Run AppleScript"
<img src="https://pic2.zhimg.com/b1931d5f1328d30559719088c9faffb1_b.png" data-rawwidth="1816" data-rawheight="1088" class="origin_image zh-lightbox-thumb" width="1816" data-original="https://pic2.zhimg.com/b1931d5f1328d30559719088c9faffb1_r.png">
代碼如下
on run {input, parameters}
tell application "Finder"
set selection to make new file at (get insertion location)
end tell
return input
end run
保存到 "應(yīng)用程序"文件夾, 名字姑且叫 "New File.app" 吧.
Finder 工具欄右鍵, 自定義, 然后把 New File.app 拖上去, 大功告成,
<img src="https://pic1.zhimg.com/37e5280342c09c90f09f880d84ef1250_b.png" data-rawwidth="711" data-rawheight="442" class="origin_image zh-lightbox-thumb" width="711" data-original="https://pic1.zhimg.com/37e5280342c09c90f09f880d84ef1250_r.png">
需要時(shí)候點(diǎn)擊一下, 即可在當(dāng)前文件夾生成一個(gè)空文件.
總結(jié)
以上是生活随笔為你收集整理的Mac OS X 在Finder新建文本文件的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: VC6.0详细教程
- 下一篇: 关于ps抠图问题,制作公章,公章的复制