macroScript showNextABC category:"MXS Help" ( local current_object = 0 --this is local to the macroScript local co = 0 on execute do ( -- collect all names and sort them: allObjectNames = sort( for i in objects collect i.name ) hide $* --hide all objects current_object += 1 --increment counter if current_object > allObjectNames.count do --loop if necessary current_object = 1 if allObjectNames.count > 0 do --if anything in the scene... co = getNodeByName allObjectNames[current_object] unhide co select co max zoomext sel all ) )