Default sort to folder only

Is there a way to make sorting changes affect only the current directory by default? This is how Windows Explorer behaves by default. At the moment, when I change the sort column, this affects all directories I visit. I know how to make this change affect only the current directory manually, but this requires clicking through other dialogs which is unintuitive. I'd prefer the windows explorer behavior in Opus.

Is there a way to change this?

If you're using Opus Pro, you could have a script add-in that automatically runs Set FORMAT=!folder when you change folders. That would reset to the folder's natural format, ignoring any temporary changes made in the previous folder.

Download this script, then drag & drop it to Preferences / Toolbars / Scripts:
FormatReset.js.txt (809 Bytes)

JScript code for reference:

// Called by Directory Opus to initialize the script
function OnInit(initData)
{
	initData.name = "FormatReset";
	initData.version = "1.0";
	initData.copyright = "(c) 2017 Leo Davidson";
	initData.url = "https://resource.dopus.com/t/default-sort-to-folder-only/24508/1";
	initData.desc = "Reset format on folder change";
	initData.default_enable = true;
	initData.min_version = "12.3";
}

// Called after a new folder is read in a tab
function OnAfterFolderChange(afterFolderChangeData)
{
	var cmd = DOpus.Create.Command();
	cmd.SetSourceTab(afterFolderChangeData.tab);
	cmd.RunCommand("Set FORMAT=!folder");
}

I don't suppose there is a more intuitive way to do this?

All you have to do is drag the provided script to the list of scripts in Preferences. No need to understand how the script works.