Archived from groups: microsoft.public.scripting.vbscript,microsoft.public.win98.gen_discussion (
More info?)
This script successfully toggles the AutoSearch setting as seen in the
Registry, but it doesn't change whether the actual AutoSearch button in
the Robotype menu in the tray is checked or not. And that is the thing
that matters. The item in that menu must be checked or unchecked to
affect how Robotype is operating . Any ideas?
Larry
Option Explicit
Dim WshShell,AutoVal,Auto,Msg
Set WshShell = WScript.CreateObject("WScript.Shell")
AutoVal = "HKCU\Software\" &_
"PC Magazine\RoboType\Settings\AutoSearch"
Auto = WshShell.RegRead(AutoVal)
Msg = "AutoSearch for RoboType has been "
If Auto = 1 Then
WshShell.RegWrite AutoVal,0,"REG_DWORD"
MsgBox Msg & "DE-ACTIVATED"
ElseIf Auto = 0 Then
WScript.Echo AutoVal
WshShell.RegWrite AutoVal,1,"REG_DWORD"
MsgBox Msg & "ACTIVATED"
End If
"Larry" <larry328NOSPAM@att.net> wrote in message
news:eC3f4ktpFHA.3408@tk2msftngp13.phx.gbl...
> Thanks. In fact I already have regshot on my computer, though I don't
> think I've ever used it. Tomorrow I'll try this out.
>
>
>
> "Andreas Kaestner" <andreaskaestner@web.de> wrote in message
> news:%23GxtB5mpFHA.1416@TK2MSFTNGP09.phx.gbl...
> > Larry (larry328NOSPAM@att.net) schrieb/wrote:
> >
> > > Does anyone know if the settings for Robotype AutoSearch and
Manual
> > > Search modes are in the Registry and what their Registry address
> > > is?
> >
> > You can easily find out by making a snapshot of the registry,
> > changing the program's settings, making a second snapshot,
> > and comparing the shots. You can find REGSHOT 1.7.2 here:
> >
http://www.majorgeeks.com/download965.html
> >
> > --
> > Gruß, | Bitte in der NG antworten | Win98-Tipps:
> > Regards, Andreas | Please reply to the NG |
http://a-kaestner.de
> >
>
==================*===========================*=======================72
> > OE-QuoteFix 1.19.2:
http://home.in.tum.de/~jain/software/oe-quotefix/
> >
>
>