Thanks, guys.
I haven't got very far on this, as I'm not certain how to show "index = 0".
// This plugin ensures that when a Display is opened, the first game in the romlist is in focus
fe.add_transition_callback( "first_game" );
function first_game( ttype, var, ttime )
{
switch ( ttype )
{
case Transition.ToNewList:
index = 0
return false;
}}
I only really want to do this with one layout. Once I've got the plugin sorted, can I add the same code just to one layout.nut and it should work?