Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Detecting keys in batch

13 views
Skip to first unread message

Joey Lombardo

unread,
Sep 3, 2022, 5:49:43 PM9/3/22
to
I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?

JJ

unread,
Sep 3, 2022, 7:28:04 PM9/3/22
to
On Sat, 3 Sep 2022 14:49:41 -0700 (PDT), Joey Lombardo wrote:
> I am making a version of Pokemon in CMD. I want to detect key combos in it
> and I don't know how. How do I?

You misunderstood what batch file can do.

Klaus Meinhard

unread,
Sep 4, 2022, 3:50:56 AM9/4/22
to
Am 03.09.2022 um 23:49 schrieb Joey Lombardo:
> I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?

Hi Joey,

that is difficult in CMD batch. If you absolutely want to use that type
of "language", go to the JP Software website and download TCC/LE. It is
free, and offers a superset of CMD.com's batch language with much
enhanced capabilities (see "Features" on the download page). I've done a
Tic-tac-toe with that.
--
Mit freundlichen Grüßen,

* Klaus Meinhard *


Kerr-Mudd, John

unread,
Sep 4, 2022, 5:09:53 AM9/4/22
to
On Sat, 3 Sep 2022 14:49:41 -0700 (PDT)
Joey Lombardo <joeylo...@gmail.com> wrote:

> I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?

You can Ask to make a Choice, but most key combos are not get-at-able
(word?), just the standard keys. So you might have to use e.g. WASD for
movement.

--
Bah, and indeed Humbug.

Joey Lombardo

unread,
Oct 4, 2022, 5:44:54 PM10/4/22
to

Klaus Meinhard

unread,
Oct 9, 2022, 10:21:10 AM10/9/22
to
Windows 10S? Look for ways to change that to full Win 10.
0 new messages