@txnelson @ian_jmp : Thanks a lot.
Actually a mixture of both of your answers did the thing, I needed at this point.
Names Default To Here( 1 );
i= 1;
While( Window( i ) << get window title != {},
Try( (Window( i ) << xpath( "//AxisBox" )) << Show Major Labels( 0 ) );
i++;
)
For removing all the axis items of a profiler axis (except the title), I extended the script with this
Names Default To Here( 1 );
i = 1;
While( Window( i ) << get window title != {},
Try( (Window( i ) << xpath( "//TextBox" )) << visibility( hidden ) );
i++;
);
i= 1;
While( Window( i ) << get window title != {},
Try( (Window( i ) << xpath( "//AxisBox" )) << Show Major Labels( 0 ) );
i++;
);
i= 1;
While( Window( i ) << get window title != {},
Try( (Window( i ) << xpath( "//NumberEditBox" )) << visibility( hidden ) );
i++;
);
One has to be cautious, since e.g. xpath( "//TextBox" ))
then attributes the visibility to all TextBoxes.
This removes other things one probably does not want to remove!
@Florian_Vogt @Emmanuel_Romeu : Since we discussed this, possible interesting to know this work around!