Show first selected file

This button will do that:

Jump to First Selected.dcf (601 Bytes)

See How to use Buttons and Scripts from this forum if you need instructions on how to use it.

Script code for reference:

function OnClick(clickData)
{
	var cmd = clickData.func.command;
	cmd.deselect = false;
	cmd.RunCommand("Select FROMSCRIPT MAKEVISIBLE=immediate");
}

It uses the FROMSCRIPT argument and the fact the cmd object is pre-populated with the current selection, to tell the command to select the files which are already selected (which obviously doesn't do much on its own), and make the first one visible (the part we want).