Skip to content

"Member not found" error trying to change SAPI voice #13

@fiendish

Description

@fiendish

Mimicing the invocation to change SAPI voice shown in https://msdn.microsoft.com/en-us/library/ms723614%28v=vs.85%29.aspx

require "luacom"
talk = luacom.CreateObject("SAPI.SpVoice")
talk.Voice = talk:GetVoices():Item(0)

Gives error

COM error:(.\src\library\tLuaCOM.cpp,403):Member not found.

Thoughts on what might be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions