[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: getting further (was a traceback error when I try Vocola)
- To: "robert" <http://dummy.us.eu.org/robert>
- Subject: RE: getting further (was a traceback error when I try Vocola)
- From: "Vocola" <http://www.attbi.com/~Vocola>
- Date: Sun, 9 Jun 2002 16:38:31 -0400
- Delivered-To: http://dummy.us.eu.org/robert
- Importance: Normal
- In-Reply-To: <20020609152638.15830.qmail>
- Keywords: http://www.attbi.com/~Vocola robert http://www.attbi.com/~Vocola
> > > > Am I supposed to create a shortcut called "cmd"? Or, am
> I supposed to
> > > > edit _vocola_main.py ?
> > >
> > > This is invoking "cmd.exe", which is what the "Command
> Prompt" DOS window is
> > > called under Windows NT, 2000, and XP. Could you please
> look at the shortcut
> > > which invokes "Command Prompt" on your Windows 98 system,
> and let me know
> > > the name of the executable? If you substitute that name
> into the line in
> > > question, I expect it will work.
> >
> > I think it's "command", but I don't know. I'll investigate.
>
> It is "command". I changed "_vocola_mail.py" appropriately and now "Load
> Voice Commands" works. "Start Notepad" and "Test Simple
> Command" also work. But, "Edit Voice Commands" doesn't. Nothing comes up
> and I get no errors.
>
> I double-checked that I associated .vcl files with "WordPad". (I did the
> shift-right-click thing. And when I double click on a .vcl file, it opens
> with WordPad.)
>
> Any ideas?
I think the "file association" trick will just not work in Windows 98.
However, it's easy to just put "WordPad" directly into the NatLink code. In
"_vocola_mail.py", instead of the line:
natlink.execScript('ShellExecute "cmd /c ' + filename + '", 6')
use the line:
natlink.execScript('ShellExecute "wordpad ' + filename + '", 1')
That should work just as well.
-Rick