Fully automatic hydraulic machine