Hey Wally,

It works for me on WIN98SE.  It was also a good way to test my
Norton AV re: VB scripts. Thanks.

Roger

=======================================================
Some days you're the dog, some days you're the hydrant.
.


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 14, 2004 9:40 AM
Subject: Re: PCWorks: Batch files for Function keys?


> Clint:
>         Below is a batch file that will call
> Windows Explorer and then apply the
> F11 key to it.  I do not know how or why
> it works. You can substitute the F1 key for the
> "F11" to get help or other "F" keys as you wish.
> You can substirute other program names also.
> I hope this comes close to what you are trying
> to do.
>
> Wally
>
> Copy the script to notepad and save as an   "anyname.bat"
>  file.        Good luck..........
> ---------------------------------------------
>
> @ECHO OFF
> c:\windows\explorer.exe
> echo set
sh=WScript.CreateObject("WScript.Shell")>%WINDIR%\temp\f2key.vbs
> echo sh.SendKeys "{F11}" >>%WINDIR%\temp\f2key.vbs
> start %WINDIR%\temp\f2key.vbs
> cls
> ---------------------------------------------------------------
----------
============= PCWorks Mailing List =================
Don't see your post? Check our posting guidelines &
make sure you've followed proper posting procedures,
http://pcworkers.com/rules.htm
Contact list owner <[EMAIL PROTECTED]>
Unsubscribing and other changes: http://pcworkers.com
=====================================================

Reply via email to