Is it possible to disable built-in aliases in the "Go" FAYT prompt?

I use the alias feature regularly to navigate around my files.

However, I almost never use the built in aliases and since there are so many of them I often accidentally navigate to the wrong folder because I press return too quickly.

Is it somehow possible to disable them either completely or at least just in the "Go" FAYT prompt?

You could turn off everything else under Preferences / Filtering and Sorting / Find-As-You-Type / Folders Mode and use ] instead of /, but it may not be exactly what you want. Folder Mode matches what you type against the target path rather than the alias name.

I think you could get exactly what you want using a FAYT script, though.

For anyone having the same problem, I've created a FAYT script to solve it. However, I couldn't figure out how to already open the suggestions when just pressing the activation key, as the function doesn't seem to get called without typing something.

FAYT Go Alias.opusscriptinstall (1.2 KB)

I think you can set wantempty on the command to solve that. Have not used this yet myself, but it should work like this:

function OnAddCommands(addCmdData)
{
	var cmd = addCmdData.AddCommand();
	cmd.name = "FAYTExample";
	cmd.method = "OnFAYTExample";
	cmd.desc = "";
	cmd.label = "FAYTExample";
	cmd.template = "";
	cmd.hide = true; // Hide from button editor menus
	cmd.icon = "script";

	var fayt = cmd.fayt;
	fayt.enable = true;
	fayt.key = "_";
	fayt.textcolor = "#000000";
	fayt.backcolor = "#FFFFFF";
	fayt.label = "Example";
//	fayt.flags - optional Map of flags (flag value -> label) - need to use DOpus.Create.Map
	fayt.realtime = true; // Call on each keypress, not just after return
	fayt.wantempty = true; // Call for suggestions on empty input
}

Thanks for the tip, but that doesn't seem to work for me.

If you want to reproduce this, simply use my script add the wantempty property and a debug output in the called function. It still only gets called after typing something. Unless I'm understanding something wrong.