zoukankan      html  css  js  c++  java
  • Mac OS X 在Finder新建文本文件

    Automator 新建一个 Application

    添加一个动作 "Run AppleScript"

    代码如下
    on run {input, parameters}
    
    	tell application "Finder"
    	set selection to make new file at (get insertion location)
    	end tell
    
    	return input
    end run

    保存到 "应用程序"文件夹, 名字姑且叫 "New File.app" 吧.

    Finder 工具栏右键, 自定义, 然后把 New File.app 拖上去, 大功告成,

    需要时候点击一下, 即可在当前文件夹生成一个空文件.
  • 相关阅读:
    windows下nginx的安装及使用
    JAVA面试经历
    项目框架搭建
    383. Ransom Note
    Add to List 349. Intersection of Two Arrays
    171. Excel Sheet Column Number
    463. Island Perimeter
    669. Trim a Binary Search Tree
    496. Next Greater Element I
    637. Average of Levels in Binary Tree
  • 原文地址:https://www.cnblogs.com/Rinpe/p/6018561.html
Copyright © 2011-2022 走看看