Hi, I want to make a power point slide changer.All I want to do is that assign two buttons on arduino, one for forward and another for backwards.On pressing the forward button, i should be able to move to the next slide in power point and on pressing the backwards button i should be able to go back a slide.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?Can anyone guide me on this?
If Powerpoint is running on Windows, the simplest solution would be to use Gobetwino to send keystrokes to your applications based on command strings sent from the Arduino. Gobetwino isn't available for non-Windows platforms (as far as I know) but it would be easy enough to write your own application to generate keystrokes.If you aren't committed to making your own hardware, you could probably get a wireless mouse for less than the cost of an Arduino.
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.
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?
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
Yes, but that application still needs to communicate with Powerpoint, or emulate a mouse / keyboard, which is not exactly trivial.