I have a simple button that creates a new empty file
runmode hide
@set name = {dlgstringS|Enter the name of the file you want to create.|New.txt}
type NUL>>"{$name}"
dopusrt /cmd SELECT DESELECTNOMATCH MAKEVISIBLE "{$name}"
I wondering if there is a way to have 'dlgstring' select only the letters "New" in "New.txt".
Thank you, but that way I have to type the extension. For now, I've decided to go this route
@set name = {dlgstringS|Enter the name of the file you want to create.|.txt}
(the resulting dialogue is attached to this post) this way I just have to type the 'Home' key once, and can start typing the file name. Now how about a way to deselect the string, and have the cursor start at the beginning?