Hello,
I'm trying to create a new folder that brings up a dialog box and that dialog box has the field auto filled in from the selected folder.
@nofilenamequoting
@runonce:@set dirname={dlgstringS|New Folder Name:|{file$}}
CreateFolder "{$dirname}" READAUTO
If I run the code from a button on a toolbar, everything works the way I expected (A new folder is created on the same level as the one I had selected).
If I run the code from the right-click context menu, it creates the new folder under the folder I originally right-clicked on.
Something I'm doing wrong? Maybe there's a better way to do this? Any help would be appreciated.