Simple Batch/Script file Question

F

Fidelis K

I need to create a simple batch/script file in XP SP2 that does the
following:

Press Ctrl+Shift+F12 --> (This is a hot key combination that selects the
secondary DVI output of my graphic card)

Run F:\Call of Duty\CoDSP.exe --> (This is an execution file of a PC game
that I'd like to play using the secondary DVI output).

All I want to do is to create a batch/script file to tell my PC (1) to
switch to the secondary DVI output of the graphic card and then (2) run the
game. Can anyone help? It seems to be an easy thing to do, but since I never
created a batch/script file before, I just cannot figure out how to write
one...
 
P

Pegasus \(MVP\)

Fidelis K said:
I need to create a simple batch/script file in XP SP2 that does the
following:

Press Ctrl+Shift+F12 --> (This is a hot key combination that selects the
secondary DVI output of my graphic card)

Run F:\Call of Duty\CoDSP.exe --> (This is an execution file of a PC game
that I'd like to play using the secondary DVI output).

All I want to do is to create a batch/script file to tell my PC (1) to
switch to the secondary DVI output of the graphic card and then (2) run the
game. Can anyone help? It seems to be an easy thing to do, but since I never
created a batch/script file before, I just cannot figure out how to write
one...

Batch files are not suitable for invoking hot key combinations.
You need a macro tool such as AutoIt
(http://groups.yahoo.com/group/autoit).
 

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