From Longman Dictionary of Contemporary Englishpress/push (all) the right buttonspress/push (all) the right buttonsto get what you want by behaving in a clever way She seemed to push all the right buttons. → button
Examples from the Corpus
press/push (all) the right buttons• He pushed all the right buttons.• These are words which are all designed to press the right buttons among women voters.