Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: The Command Line/off topic.

Author: Russell Reagan

Date: 14:26:02 01/22/04

Go up one level in this thread


On January 22, 2004 at 09:20:47, Michael Yee wrote:

>I saw your initial post and thought that was a good suggestion. (I also like
>using cygwin when I've booted into windows.) But awhile ago, I wanted to do some
>repetitive task that required sending keystrokes to a windows application and it
>seemed like WSH was the most convenient option. (Is there a way to do this with
>python, etc.?) Plus, as silly as it sounds, I'm most familiar with javascript
>out of all the scripting languages (although python is on my list).

Ah okay :) I think I misunderstood. I assumed "sending keystrokes" meant sending
keystrokes to another console program, which is done very often in bash scripts
of course (and probably why I assumed this, because it's what I'm used to
doing). Just to clarify, what you are talking about is (for example) sending
text to a specific text box in an application, right? If so, I don't know of any
way to do that with any of the things I mentioned. I usually do it using C++ and
Windows API calls (FindWindow, SendMessage, etc). WSH is probably a good idea
for that (better than writing a C++ program). I'll have a look at it later.
Thanks.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.