LoginSignup
1
1

More than 5 years have passed since last update.

Finderでtouch(空ファイルを作成)

Posted at

コンテキストメニューから新規フォルダを作成する方法はあるが、新規ファイルを作成、というのはなかったので、これもAppleScriptとSpark.appの組み合わせで解決してみました。

-- 空ファイルをカレントディレクトリに作成
tell application "Finder" to make new file at (the target of the front window) as alias

問題は、どのキーを割り当てるか。
悩ましいのだけど、ひとまず Cmd+Nに割当してます。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1