Send midi cc / pc message when switching pages

Someone has already recommended a solution, but I wonder if there is another.
How can I solve it so that if I change pages with the Electra One, it sends a midi cc or pc message to the usb host or a midi out?
I have an Intech Studio EN16 controller that can switch sides when received midi cc / pc messages, and I want the EN16 to follow the page switch of the E1. I know that the EN16 can send a cc / pc message, and tthe E1,can “follow”, but the first solution would be much more practical for me.