What exactly are you trying to do? The best way is not to use GUI automation if you can avoid it somehow (e.g. using PDF activities instead).
This is generally a very difficult problem when creating attended automations. I don’t think you can tell Acrobat how to configure its UI, so the only way I know to deal with it if you have to use GUI automation is to make the process robust to the different variants using Pick, Check App State, etc.