dragonbar.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:dictationbridge-nvda 作者: dictationbridge 项目源码 文件源码
def flashRightTextChanged(self, obj):
        text = obj.name
        if not text:
            return
        if self.lastFlashRightText == text:
            return
        self.lastFlashRightText = text
        mOff="Dragon\'s microphone is off;"
        mOn="Normal mode: You can dictate and use voice"
        mSleep="The microphone is asleep;"
        if mOn in text:
            ui.message("Dragon mic on")
        elif mOff in text:
            ui.message("Dragon mic off")
        elif mSleep in text:
            ui.message("Dragon sleeping")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号