Thankfully the last time one of my cats was on meds it was in liquid form. I still had to tuck him under my left armpit and lean on him with most of my body weight ( a significant amount!) and shove the eye dropper thingie into the back of his mouth...but it was better than a pill!
My sister has a 16 year old pug who has been on various meds on and off over his long doggie life. I would choose him over any other animal on the planet to give medication to. You basically hand him the pill and he swallows it, no questions asked.