I want to use JavaScript to control the last page, the next page, the full screen of PowerPoint. I looked at the PostMessage, but there were no such actions
I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this
You can't use javascript "directly" you have to call these actions through Microsoft javascript API. You will need to build PowerPoint add-in by using Office Add-ins platform. There are some nice tutorials for PowerPoint here and here that you can follow and that will give you an idea of what can be done by building PowerPoint add-in. I would suggest you get familiar with the technology and concepts before moving to tutorials. Also note that PowerPoint API is not fully developed and there are some features missing but you might not need them. There is UserVoice page where you can register and up vote for different office-js API features so it gets Microsoft office-js team attention.