Originally Posted by
jarvis24
Is it the video that needs to be randomized across trials? If so, you could leave the trials in a constant order (i.e., not random) but randomly select the video stimulus on each trial via a stimlist. e.g., if you have 10 trials, create a stimlist called "videos.txt" (or whatever) with the 10 video clips and simply refer to it as $videos for the stimulus value on each trial. Voila--randomized clips with trials in a constant order for the purpose of skipping and jumping and such. If that won't work for whatever reaosn, let me know and we can figure out something else. My memory is telling me that I wrote a function recently to allow skipping or jumping n trials rather than to a specific trial id--that would also do the trick. That may have just been a dream though.