How to automate microscope picture taking

I have a program that can automate processes, but i need to know the coding to push to the microscope to “take the picture”. where can i get the coding to automate the take picture function for the microscope?

Thanks for asking!

The microscope doesn’t actually take a picture, the software simply captures what it sees in the preview window. I may be able to help if you let me know what software package you’re using.