I believe doing this would be quite difficult as OO doesn't lend itself to command line options too well. I would first play with the command line and get it to open the presentation you want.
It should be something like
once that works then I would try the rest ie getting it to run the slide show automatically. Again as 'graemef' said 'system()' should work! All it does is to issue the command.
One more thing check that OO is in your $PATH directory for the user who is going to run OO !