Skip to content

Commit

Permalink
Stop the Open Profile dialog from appearing after switching to roamin…
Browse files Browse the repository at this point in the history
…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.
4 changes: 3 additions & 1 deletion dictation_server.pyw
Expand Up @@ -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():
Expand Down

0 comments on commit d2768d1

Please sign in to comment.