厉害了,WORD哥!
输入汉字,竟然可以读出来。。。
这真是变态用户必备神技啊
REPORT ZLYTEST001. INCLUDE OLE2INCL. DATA: OLE TYPE OLE2_OBJECT, VOICE TYPE OLE2_OBJECT, TEXT TYPE STRING. TEXT = 'I love You'. DATA: IT_TLINE TYPE STANDARD TABLE OF TLINE WITH HEADER LINE. CREATE OBJECT VOICE 'SAPI.SpVoice'. SET PROPERTY OF VOICE 'Volume' = 100."音量0 -100 SET PROPERTY OF VOICE 'Rate' = 1."速度 -10 - 10 CALL METHOD OF VOICE 'Speak' = OLE"读 EXPORTING #1 = TEXT. FREE OBJECT VOICE.
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/18621.html