On Sat, Sep 11, 2010 at 10:20 AM, Mike Scott <m...@scottsonline.org.uk> wrote: > I've been asking on 'users' about running a live video stream from within > Impress. The problem seems to have reduced to running a given macro when a > particular slide is shown. > > The problem is, there seem to be no available hooks for doing this. I have > found some code to run a given macro for /every/ slide change, but can't see > how to fix it up (my knowledge of the OOo API is worse than sketchy!). If > anyone knows a way, I'd be grateful; if there is no way - should there be? > -- it looks like a potentially useful hook to have available.
Why not adding a Botton control, you can call a macro on the "push" action. You can also use shell and launch programs from it. > Meanwhile, I did find in the help file mention of specifying a macro to run > when a given image is loaded, which promised a workaround of sorts for me. > But the help file is highly misleading, I'm afraid - it tells me to "Choose > Insert/Format - Picture - Macro tab" which is nowhere to be found in Impress > -- although it /is/ there in Writer (but not Draw or Calc)!!! It's yet > another unhelpful and irritating inconsistency between modules. > > Thanks in advance for any help. I feel like I'm battering my head against a > wall at present :-{ > > > Oh, OOo 3.2 on ubuntu, btw. > > -- > Mike Scott > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: discuss-unsubscr...@openoffice.org > For additional commands, e-mail: discuss-h...@openoffice.org > > -- Alexandro Colorado OpenOffice.org EspaƱol http://es.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: discuss-unsubscr...@openoffice.org For additional commands, e-mail: discuss-h...@openoffice.org