I created a Context Menu Entry for "All Files" which creates a new textfile giving it the Name of the selected file without it's extension.
Action: New Textfile "%1.txt".
Function: FileType NEW=.txt NEWNAME="{file|noext}"
Right-clicking a file e.g. file.mp3 schows a preview of the name of the textfile to create e.g. New Textfile "file.mp3.txt".
But the new file will be named as file.txt according to the {file|noext} in the Function. The "%1" in Action is not able to skip the .mp3-Extension.
Is it possible to get a correct preview here, skipping the extension? Is it possible to get a similar preview when using the same Function in a Button ?
"%1" or "{file|noext}" are not working here using them in "Label" or "Tipp" Fields.
Wow, what an easy solution. "%2" really works. Thanks leo!
Although I often try craziest things at a venture I didn't try this, because I thought it's only for automatic rename purposes when a file already exists.
What about my second Question: Is it possible to have a similar Preview in the Tooltip of a Button?
E.g.: LMT: New Textfile "{file|noext}"
RMT: New Textfile "{clip}"
These don't work when added to the "Tip"-field in the Buttoneditor. The tooltip only shows exactly what is written in this field. Would be nice to have this little piece of functionality in the Button-Tooltip too.
This leads me to another Question: Is it possible to have a similar preview for the Clipcontent in the Context Menu?
I've sent a feature request to GPSoftware for this topic,because I'm sure the Tooltip-Field in the Buttoneditor has no more Function than "Show in Tooltip what is written here"
By the way: I can't rememeber seeing such a well-maintained, useful and serious Forum in the web. Always quick, friendly and useful replies (thanks again @ leo), no endless off-Topic discussions making it hard to find one really useful sentence on dozens of pages...
A great Forum for a Great Software!
FWIW, there are some places where tooltips can display extra information. Buttons which run Go BACK, Go FORWARD or Go UP can use %1 in their tooltips to tell you which folder they will go to.
I think those are special cases, though, and they're using %1 to insert something which isn't to do with the current file selections.
@leo:
Yes, You're right, there already is some functionality in the Tooltips. Perhaps it makes it even easier for GPSoftware to implement the little Gimmick for other cases.