You can learn this by using the Record function to see how SpaceClaim scripts work in the background.
Please check the Scripting library and developer's guide in this location for more information on scripts:
C:Program FilesANSYS Incv221scdmSpaceClaim.Api.V20
You don't have to navigate between ribbon tabs instead you can use SpaceClaim shortcuts P for pull, M for Move and S for select etc. Please check the below documentation link for SpaceClaim shortcuts.
Keyboard shortcuts (ansys.com)
And for those which do not have shortcuts, you can define custom shortcuts for those as well, no need for using ribbon tabs.
Let me know if this helps.