|
Post by guitzero on Mar 31, 2016 21:31:52 GMT -8
Hi Gang.
adding time delay... seems to sometime elude me as to when I should use it. Common sense tells me it should be for commands that would need to take processing time... but for example many tasks such as rendering an AS plugin on clips vary depending on the length of the clip.
So for example, 1 clip may take a few hundred milliseconds to process where longer clips may take two or three seconds... is the answer to add three "3000" here of all clips? even the tiniest clip?
also, as for other commands, like traversing, i add "9" ms in my commands... how much of this is actually necessary?
Thanks much!
|
|
|
Post by jameyz on Apr 1, 2016 5:14:02 GMT -8
This is a great question.. I usually add 100ms to every line of script. Just to be sure they don't fire over each other. If you are need a variable delay you can use "wait for pt dialog open/close" which waits for the extra window to open or close then moves on to the next line. So if you need something to wait until the audiosuite is done rendering you can add this instead of delay time..
|
|
|
Post by guitzero on Apr 4, 2016 23:13:52 GMT -8
Thanks Jamey, as always :-) !
Eric
|
|