How Do I Create Batch File

D

Dennis Marks

I would like to create a batch (.bat) file that would have the same
effect as typing "SHIFT F10 k". I have no idea of what to enter into the
file but I am sure it is trivial. Can someone help?

--
Dennis M. Marks

Disclaimer: The above is my opinion. I do not guarantee it. Be sure to
back up any files involved and use at your own risk. Batteries not
included. Not for internal use. Don't run with knives.
 
G

Guest

Dennis:

Try this in the batch file:

====================

ECHO Shift F10 k

====================

Should work
 
J

John John

If what you want to do is invoke a Function Key (F10) via a batch file,
that is not "trivial" and easy to do. As far as I know you can't do it
in a batch file without third party tools/applications. It might be
possible to do with a script (VB or other) but I don't know for sure.
Furthermore, the F10 Function needs to be focused, it acts differently
for different programs, you will have to send it "through" the
application you want to use. It might be easier to do this with a Macro
Recorder.

John
 
D

Dennis Marks

If what you want to do is invoke a Function Key (F10) via a batch file,
that is not "trivial" and easy to do. As far as I know you can't do it
in a batch file without third party tools/applications. It might be
possible to do with a script (VB or other) but I don't know for sure.
Furthermore, the F10 Function needs to be focused, it acts differently
for different programs, you will have to send it "through" the
application you want to use. It might be easier to do this with a Macro
Recorder.

John

Thank you. I was just trying to figure how to get a button on my mouse
to select a specific item (mark all read) from a context menu. The
keyboard method is SHIFT+F10 to open up the context menu and k is the
selection. The mouse only allows one key or I can call a file or
program. I wanted to point to a newsgroup and click the side mouse
button (Microsoft optical mouse 6000).

--
Dennis M. Marks

Disclaimer: The above is my opinion. I do not guarantee it. Be sure to
back up any files involved and use at your own risk. Batteries not
included. Not for internal use. Don't run with knives.
 
D

Dennis Marks

Thank you. I was just trying to figure how to get a button on my mouse
to select a specific item (mark all read) from a context menu. The
keyboard method is SHIFT+F10 to open up the context menu and k is the
selection. The mouse only allows one key or I can call a file or
program. I wanted to point to a newsgroup and click the side mouse
button (Microsoft optical mouse 6000).

I just found a single key method after searching all of the menus. It
was CTRL+SHIFT+c. So I don't need the batch file. Thank you anyway.

--
Dennis M. Marks

Disclaimer: The above is my opinion. I do not guarantee it. Be sure to
back up any files involved and use at your own risk. Batteries not
included. Not for internal use. Don't run with knives.
 
J

John John

You're welcome.

John

Dennis said:
I just found a single key method after searching all of the menus. It
was CTRL+SHIFT+c. So I don't need the batch file. Thank you anyway.
 
S

Stan Brown

Tue, 20 Jun 2006 07:52:31 -0700 from Dennis Marks
I would like to create a batch (.bat) file that would have the same
effect as typing "SHIFT F10 k". I have no idea of what to enter into the
file but I am sure it is trivial. Can someone help?

"I have screw to drive, can you show me how to use this hammer?"

You don't want a batch file, you want a script or a macro program. I
recommend the free Autohotkey from http://www.autohotkey.com .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top