Thank you very much Arnold for this suggestion!
What's missing in this solution however is a way to get around the most annoying thing, that is the "save as.." dialog, where one must navigate through all the directory tree just to land at the current (front most) Finder window.
Does anyone have an idea on how to let Automator (or Apple Script) know what is the front window (focus) of the Finder and to save the text file there?
Any solution (Apple Script or Automator) to implement "Text file here" would be very welcome!
I often create short "readme" files in my folders, just to remind me about the work progress, when I get back to them after a few weeks or months.
"Text file here" context menu would be very useful for this (Windows has it and I believe it is a good idea).
Ric
You can easily create your own contextual menu item
that will perform a very similar action that will
probably be close enough to meet your needs. It only
takes a few minutes using Automator. Automator is in
you Applications folder. Follow these steps:
-Launch Automator.
- From the Library Column, select
Text Edit.
-From the Action column, select, drag and drop the
New Text File into the workflow area.
-Select a default folder from the
Where:
drop-down menu.
-Click the
Options triangle and check the
Show Action when Run box.
-Check the
Where box.
-From the menu bar, select
File->Save as
Plug-in
-In the dialog box, choose
Finder from the
drop-down menu labeled
Plug-in for: and give
the action a name like
New Text Document.
-Click
Save.
That's it. Now go back to the Finder, right-click and
look at the items under Automater. Your new Action
should be there. This one will let you choose where
to place the text document. I didn't see a way to
make the action default to the folder selected in the
Finder the way the Windows thing works, but this is
pretty close. You might want to fiddle around a bit
in Automator and see if there is a way to do that.
PowerMac, iBook Mac OS X (10.4.3)