- Jun
- 570
- 4
How can one get quote characters into the text sent to the current tab in a toolbar button? I have a number of buttons that use the variable "_selected" to enter a selected file name into a command. For example, a button with the label "ED" has the following command definition:
I hope that I'm overlooking something simple and obvious.
esc "edit %_selected" enter
However, this fails when the selected file name has a space character (I **NEVER** create files with spaces in the name, but, unfortunately, others do), so I tried defining the command as follows:
esc "edit %@quote[%_selected]" enter
However, the button command seems to turn into something like
esc "edit "file name"" enter
and the toolbar processor can't handle that. As far as I can tell from the documentation, there is no alternate character to the quote character for the keystroke definition. A similar problem must arise with the KEYSTACK command.
I hope that I'm overlooking something simple and obvious.