Create New Text File Icon Finder Window
Hello,
I am using Automator to create a new text file
using this code
tell application "Finder" to make new file at (the target of the front window) as alias
It then creates an app which I can insert onto my window tool bar, a quick click and a new txt file is produced in the folder. Works awesome!
Can I amend the code so that it actually creates a new RTF or RTFD file instead? I always have to convert the file so it would streamline my process if an RTF file would be created instead of a TXT.
I guess the word "file" in the code is the variable but can this be changed so that a different kind of file is created?