You could set a variable to 1 when you move to the top of the screen and use
the "while" command to activate every other selection.
I wonder, though, how are you going to get the control key held down?
Let us know what you come up with.
Bob
-----Original Message-----
From: K. Washington <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, May 26, 1999 10:59 AM
Subject: Need help creating a loop for a script.
>Hello listeners. I'm in need of some assistance with an advance
>script. I'm creating it for Go!Zilla. In particular the "Leech" utility
>of the program. I want the script to do the below in this order.
>
>1. Move to the top of the current listbox.
>2. Select the choice it lands on using the [Spacebar]
>3. Move down twice in the listbox, excluding the first choice it
>passes. In other words like holding down the [Control] key, while pressing
>the [Down arrow] key twice. Then use the [Spacebar] key to select the
>choice it lands on.
>
>Want the script to be attached to a key combination. I know how to make a
>basic script for doing the above, but what if I wanted the script to do the
>above procedures a specific number of times. Say... 20 times, without any
>intervention from me. After the script is ran, I should have a listbox of
>options in which every other choice is selected (It should be 20 in
>total). I know there is some way of doing this, but don't know how. Don't
>want to create a script with the same sequence of commands in it 20 times
>(It will basically be a mess). Can someone give me some help with this
>one? I'm sure there is some sort of "Loop" function that can be used
>here. Thanks in advance.
>-
>Visit the jfw ml web page: http://jfw.cjb.net
>
-
Visit the jfw ml web page: http://jfw.cjb.net