Quote from: wizdum on Oct 04, 2012, 02:29 pmBy default, Power Point lets you change slides by pressing keys on the keyboard, or by clicking a mouse. The simplest solution would be to use an arduino leonardo to emulate a keyboard or mouse.Hi,Well I wish to learn along the way, leanardo seems to be the simplest solution, but I am planning to build my own stand alone slide changer, and in the process want to learn all this.The hardware is actually ready, I have a standalone pcb with atmega 328 smd, and a bluetooth which can send data to pc's serial port.What I would like to do is to use that data (data can be sent according to wish or requirement) being recieved at serial port to run a slide show.can you guide me?
By default, Power Point lets you change slides by pressing keys on the keyboard, or by clicking a mouse. The simplest solution would be to use an arduino leonardo to emulate a keyboard or mouse.
Now I know arudino can send data to the serial port of the pc, but how can I interface the serial port to power point?
string presPath = "c:/Temp/test_pps.ppt"; //Create an instance of PowerPoint. Microsoft.Office.Interop.PowerPoint.Application app = new Microsoft.Office.Interop.PowerPoint.Application(); // Show PowerPoint. app.Visible = Microsoft.Office.Core.MsoTriState.msoTrue; // Open a presentation. Microsoft.Office.Interop.PowerPoint.Presentations ppPres = app.Presentations; Microsoft.Office.Interop.PowerPoint.Presentation pres = ppPres.Open(presPath, MsoTriState.msoFalse, MsoTriState.msoTrue, MsoTriState.msoTrue); // Show presentation. pres.SlideShowSettings.Run();// Here read a command from serial port (for example the ASCII char 'N' for next and 'P' for previous) and call// pres.SlideShowWindow.View.Next(); or pres.SlideShowWindow.View.Next();
Hi,if you know any .NET programming language (i.e. VB, C#) there is an easy way for controlling a power point presentation from code:
Is there a way where I can do something using C++, and which languages would you recommend I learn for being able to interface embedded hardware with windows or other operating systems, where I can control the programs in the OS using the hardware I build