"UI_SelectByCategory [+add] [+nearest] [+idle] [+goto] categoryExpression\n"
"+add : add to current selection\n"
"+nearest : select only nearest unit matching category\n"
"+idle : select only idle units\n"
"+inview: select only units in the current view\n"
"+goto: goto the unit if it's already selected\n"
No zoom argument here, but this will work too:
ConExecute('UI_SelectByCategory +nearest +goto COMMAND')
Camera:SetZoom(zoom,seconds)