Thread: Stealing focus
View Single Post
  #12  
Old 01-05-2006, 06:40 AM
Hans L
 
Posts: n/a
Default Re: Stealing focus

Trevor L. wrote:

> Hans L wrote:
> > David, see interspersed comments:
> >
> > David Candy wrote:
> > > cmd /k reg query "HKEY_CURRENT_USER\Control Panel\Desktop" /v
> > > "ForegroundLockTimeout"
> > >
> > > Put above in a shortcut in startup.

> >
> > I do not understand how to put it in a shortcut in startup.
> > "startup", I assume, is "Startup" in start--All programs--Startup,
> > but how do I put the text above in a shortcut? And what will the
> > result be (what, when, where).

>
> I think this one is fairly straightforward.
>
> Using UltraEdit, create a text file fred.bat (or any name) with
> contents (all on one line, I assume) cmd /k reg query
> "HKEY_CURRENT_USER\Control Panel\Desktop" /v "ForegroundLockTimeout"
>
> Place it in
> C:\Documents and Settings\Hans\Start Menu\Programs\Startup (change
> Hans to your username) or
> C:\Documents and Settings\All Users\Start Menu\Programs\Startup
>
> This should work. Or you could put a shortcut in this location and
> point it to to fred.bat



Thank you, Trevor. I may not need it -- see message I just posted.
But if I do, I now know what to do.

Hans L
--

Reply With Quote