Well so far, I've managed to do easy things thanks to the MSDN such as adding slides (where and which exact type) and drawing text areas, shapes, labels... However, I can't seem to add text : one of the VB syntaxes (there's several ways apparently) MS provides is the following :
Set oTitle = ActivePresentation.Slides(2).Objects.Title
This would be the VB code (according to MSDS). I assume the perl code would be :
$ppt->ActivePresentation->Objects->Slides($nb)->Title->Text = "TaGaDa"
where $ppt is
$ppt = Win32::OLE->GetActiveObject(MSPPT.'.Application') and works just fine.
However, Perl doesn't seem to know what
objects. is and returns the following error :
Can't call method "Slides" on an undefined value at D:\source\powerpoint.pl line 23.
MSDSN reference is here :
http://www.msdn.microsoft.com/library/en-us/dnpower97/html/ppppt_w95.asp?frame=true#ppppt_w95_work
If u have any idea, let me know, thanks !!!