With Bruker's Topshim program, I have used the following command to shim every new sample:
topshim z6 1d optsolvent coil=1H tuneb tunea
Now I'd like to use IconNMR to automate this procedure, but can't find much information in IconNMR Automation Guide User Manual (Version 001). It mentioned "TOPSHIM_WITH_AUTOSHIM" in 3.11.2.1 yet still not clear how to execute a custom command.