Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: The Command Line/off topic.

Author: Michael Yee

Date: 06:20:47 01/22/04

Go up one level in this thread


On January 21, 2004 at 23:44:53, Russell Reagan wrote:

>On January 21, 2004 at 22:41:16, Michael Yee wrote:
>
>>I'm not sure what you're looking for exactly (e.g., general programming?)... But
>>if you're interesting in shell scripting / automation kind of stuff, you might
>>want to check out Windows Script Host:
>>
>>http://msdn.microsoft.com/scripting/
>>
>>You can write scripts to do all sorts of neat things, e.g., starting
>>applications, sending key strokes to a running application, etc.
>>
>>WSH allows you to write scripts in vbscript or javascript and then you run them
>>from the commandline or from windows.
>
>I'm just curious, but why wouldn't you prefer something like bash scripts (or
>perl, or python, etc.)? They will work on just about any OS, and you will
>probably be able to get a lot more help from online. Just my opinion, of course
>:)

Hi Russell,

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).

Michael



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.