Skip to content
Permalink
Browse files
Stop the Open Profile dialog from appearing after switching to roamin…
…g profile.

Ideally this would be configurable somewhere rather than hard-coding my profile path, but let's just get dictation startup back to being completely automated for me.
  • Loading branch information
nriley committed Jun 1, 2016
1 parent b4acda0 commit d2768d1
Showing 1 changed file with 3 additions and 1 deletion.
@@ -191,7 +191,9 @@ def startNatSpeak():
status = natlinkstatus.NatlinkStatus()
natspeak_exe_path = os.path.join(
status.getDNSInstallDir(), 'Program', 'natspeak.exe')
os.startfile(natspeak_exe_path)
win32api.ShellExecute(
0, None, natspeak_exe_path,
'/user "https://sabi.net/dragon/Nicholas Riley (v12)"', '', 0)

import time
while not natlink.isNatSpeakRunning():

0 comments on commit d2768d1

Please sign in to comment.