- open automator
- create new
quick action - workflow received
no inputinFinder.app - search
run apple scriptand double-click on it - replace code with :
tell application "Finder"
set txt to make new file at (the target of the front window) as alias with properties {name:"newfile.txt"}
select txt
end tell
- save as
NewFile - go to finder, in Services you should see "NewFile"
