By f button I mean function buttons F5-F10

it does the

/focus ichina
/script SetView(5);SetView(5)
/jamba setmeasmaster all

for the main select and

/focus ichina
/script SetView(5);SetView(5)

if its not the main select, basically like you described to Bolea