Are multiple internal commands possible in File Types?

I'm going nuts here trying to make more than one internal command work in a File Type context menu item. Is this even possible? I can only make one command work, regardless of what I try for delimiters or with putting commands on separate lines.

Here is what I am trying to do:

Objective: A NewMenu item in a folder context menu is used, say, to create a new text file. DOpus does this, with the new file in Rename mode, which is fine. The difficulty is the folder I right clicked on has the real focus. I want the new file to have the focus after I have edited its filename (i.e. so I can hit Enter twice to save the new name and load that file into a text editor for a paste operation).

Methods Tried:

  1. Select None FileType NewMenu

  2. Select None, FileType NewMenu

  3. Select None; FileType NewMenu

  4. Select None
    FileType NewMenu

  5. Select None,
    FileType NewMenu

  6. Select None;
    FileType NewMenu

And also those variations with the commands reversed. No dice. Surely DOpus must be cabable of doing this somehow, but the manual and help are lacking in many basics, and I have been unable to find anything on this here in the forum.

Are multiple commands possible for context menu items?

Which view mode are you using and, if its Power Mode, how are your mouse buttons configured?

I was in Power Mode, and I have not changed the configuration of my mouse buttons. I have a Logitech optical wheel mouse.

Maybe here's a clue toward the problem:

           Select None FileType NewMenu 

results in an incomplete file selection dialog, with the pattern " *. "

My understanding of "Select None" is that it should need no pattern, and should simply "deselect all files and folders." However, the command has an /S option, which makes no sense to me, and I have no idea what to provide for that switch. It seems this command shouldn't need a switch (i.e. isn't it a simple off switch itself, for . ?).

The above was with both commands on one line.

If I put the commands on separate lines, Select None works properly,
but in my right click menu the name of my routine ("New File/Folder") does not have a menu arrowhead next to it.

So it seems that FileType NewMenu works only if it is in the first line. This is a bummer. Apparently Select turns the right click menu off, and FileType NewMenu cannot function independtly of it.

I hope there is some workaround for this.

Is there a way to nest internal commands? Something perhaps like this, just to express the idea even if the syntax isn't proper:

            FileType {Select None} NewMenu

so that FileType maintains the focus of the right click menu while the Select command is executed?

Commands have to be on separate lines.

The "dynamic" commands that generate other menu items can not be used in conjunction with other commands. However, one way you could do it is to recreate the 'New' menu manually - you then wouldn't be using a dynamic command, and could use multiple instructions in the one function.

Eg, if you had a function like:

Select None
FileType NEW=.txt

This would deselect all files, and then create a new text file. If there's only a few types of file that you find yourself creating you could just fill a sub-menu with a few commands like this.