WaveLab scripting questions

I have looked everywhere for DEFINITIONS on Scripting. The documentation gives EXAMPLES but does not DEFINE what each number represents in the script. For example… right now I’m trying to figure out what each NUMBER represents in the following command:

activeWave.select(0, 10 * activeWave.sampleRate());

What does the “0” represent? I have changed it and experimented, and it doesn’t seem to do anything. The result is always the same.

I’m trying to automatically select 30 seconds INTO a wave to start, and then the next 30 seconds. I thought it would be 30,30 but it still is selecting the BEGINNING of the SONG.

Can someone please explain!??