Speedwalking through a script

Posted by Poromenos on Sun 04 May 2003 01:04 PM — 5 posts, 15,416 views.

Greece #0
How can i speedwalk within a script? I don't mean EvaluateSpeedwalk, that spams the dirs, i want pure speedwalk, that the user can stop... Is that possible? Do i have to queue the commands one by one?
Russia #1
I'd imagine storing the speedwalk in an array and then running it through a for loop with a DoAfter delay on each itteration. But you can't stop that in the middle obviously.
Russia #2
Erm, you can stop it, I am just unsure what the callback is to clear the command queu but there must be one
Australia Forum Administrator #3

See Queue - that lets you queue up things (the example shows speedwalks) - you can choose whether to echo or not.

You can stop the queue with DiscardQueue

Greece #4
Ahh, thanks