Wait certain ms between each command (CommandMS)

View: New views
3 Messages — Rating Filter:   Alert me  

Wait certain ms between each command (CommandMS)

by Marcelo de Moraes Serpa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I would like to have a certin delay between each command's execution. From what I could see, the CommandMS class behaves in a way that it only waits the specified milliseconds after a set of commands have been executed, then, after this time period, it executes the commands in batch again. What I want is to have a specified wait time **between** each command. Is that possible with any of the available classes under the command package?

Thanks!

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: Wait certain ms between each command (CommandMS)

by henrik aleksander norberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A lead could be the ASyncCommandSequencer class, but I can only find it in the lowra package. Pretty sure I've seen it in pixlib too, or is that imagination?

Henrik


Marcelo de Moraes Serpa wrote:
Hello,

I would like to have a certin delay between each command's execution. >From what I could see, the CommandMS class behaves in a way that it only waits the specified milliseconds after a set of commands have been executed, then, after this time period, it executes the commands in batch again. What I want is to have a specified wait time **between** each command. Is that possible with any of the available classes under the command package?

Thanks!

_______________________________________________ Pixlib mailing list Pixlib@... http://osflash.org/mailman/listinfo/pixlib_osflash.org

_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

Re: Wait certain ms between each command (CommandMS)

by henrik aleksander norberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Found what I was looking for. Check this StepCommandManager out( I hope the attachement survives...). It's an old example from the mailing list, unfortunately I can not remember the original author; respect to him or her. Hope you can use it for something.

Henrik

Marcelo de Moraes Serpa wrote:
Hello,

I would like to have a certin delay between each command's execution. >From what I could see, the CommandMS class behaves in a way that it only waits the specified milliseconds after a set of commands have been executed, then, after this time period, it executes the commands in batch again. What I want is to have a specified wait time **between** each command. Is that possible with any of the available classes under the command package?

Thanks!

_______________________________________________ Pixlib mailing list Pixlib@... http://osflash.org/mailman/listinfo/pixlib_osflash.org


_______________________________________________
Pixlib mailing list
Pixlib@...
http://osflash.org/mailman/listinfo/pixlib_osflash.org

StepCommandManager.zip (8K) Download Attachment