SAP播放声音

2020-09-01  本文已影响0人  SmalltalkVoice

SAP自定义声音警告可以使用此功能

INCLUDE ole2incl.

DATA : ole   TYPE ole2_object,
       voice TYPE ole2_object,
       text   TYPE string.

CREATE OBJECT voice 'SAPI.SpVoice'.

text = 'SAP TECHNICAL'.

CALL METHOD OF voice 'Speak' = ole
  EXPORTING #1 = text.       
上一篇下一篇

猜你喜欢

热点阅读