Is there a way to use the clipboard text {clip} instead of the default "New Folder" string that is there when you use the standard Createfolder command?
I realise the I could just createfolder, then ctrl-v the text. I can't use the fromclip argument because the dir already exists.
Basically, I often need to create a dir that is very similar to an existing one, so at the moment I select the existing dir, use hotkey to copy the name to the clipboard,then a hotkey to open the create folder dialog, then I ctrl-v the clipboard text, then edit it accordingly.
Essentially all I am trying to do is to eliminate the need to ctrl-v needed to get the old dir name into the dialog to be edited.
Next question. I realised that using your command, with or sans colon, I had no need to do the other step seperately, so I added the clipboard copynames as a command before your example.
Trouble is, this doesn't work. So I had this idea that I should troubleshoot this by commenting out the second line to ensure that the first command was doing as it should.
I forgot what the comment character was, so I tried slash.
{clip} is evaluated at the start of the button (not once the line it is on is reached), so the button would work if you ran it twice.
If you want the selected filename, you can use it directly. That simplifies things and also means the button doesn't trashing whatever is in your clipboard:
Nah, the slash does, without the slash, it uses the LAST clip entry, not the selected file as the new dir string name.
I guess if I wasn't trying to get my head around this behaviour, I may have taken the next logical step and arrived at the theory, if not neccessarily the specific command, to do as you describe above.
ta again, no more questions tonight. The slash does count, try it. Why? Oops, that's a question
You're right. It's some kind of quirk of how the commands are being parsed, I guess. I would not rely on it and it's probably not worth us trying to understand it as it's not guaranteed to work and there are proper ways to do the same thing.