BarneyB
09-08-2016, 10:43 PM
I would like to be able to hyperlink a substring in a text object and assign a unique sound to it. When I use the following code, I can use the soundeffect.name property to play the build-in laser sound.
Set retrange = .Characters(sl, strlen)
With retrange
With .ActionSettings(ppMouseOver)
.Hyperlink.Address = ""
.Hyperlink.SubAddress = cursld
.Hyperlink.ScreenTip = arrTwoD(i, 4)
.SoundEffect.Name = "laser"
End With
End With
I would like to be able to programatically add sounds to the build-in presentation library, so that in addition to the default sounds that are there (e.g. "laser", "applause", "chime"), the sounds I add (e.g. "my_sound1", "my_sound2", "my_sound3", etc.) could be referenced:
With .ActionSettings(ppMouseOver)
.Hyperlink.Address = ""
.Hyperlink.SubAddress = cursld
.Hyperlink.ScreenTip = arrTwoD(i, 4)
.SoundEffect.Name = "my_sound1"
End With
This can be done in the interactive PP interface when setting up a hyperlink, but I would like to be able to do it programmatically.
Thanks.
Set retrange = .Characters(sl, strlen)
With retrange
With .ActionSettings(ppMouseOver)
.Hyperlink.Address = ""
.Hyperlink.SubAddress = cursld
.Hyperlink.ScreenTip = arrTwoD(i, 4)
.SoundEffect.Name = "laser"
End With
End With
I would like to be able to programatically add sounds to the build-in presentation library, so that in addition to the default sounds that are there (e.g. "laser", "applause", "chime"), the sounds I add (e.g. "my_sound1", "my_sound2", "my_sound3", etc.) could be referenced:
With .ActionSettings(ppMouseOver)
.Hyperlink.Address = ""
.Hyperlink.SubAddress = cursld
.Hyperlink.ScreenTip = arrTwoD(i, 4)
.SoundEffect.Name = "my_sound1"
End With
This can be done in the interactive PP interface when setting up a hyperlink, but I would like to be able to do it programmatically.
Thanks.