This content has been marked as final. Show 4 replies
Ah, you're right. I added a 0 to the beginning and another cuepoint at the end, the last cuepoint is the total length of the track. When that point is reached something happens anyway. But the script still doesn't run. I don't know why it says that the list is expected for handler and then shows the entire list in the debugger. If I could just get it to go from page 1 to 2, but as soon as I start the program the error pops up.
I fixed it!!!
global gCuelist, gPageNos, gPage, gTrack
if dmm_CDExtGetElapsedTrackMillisec() <> dmm_CDExtLengthTrackMillisec(gTrack) then
repeat with k = 1 to gPageNos
if dmm_CDExtGetElapsedTrackMillisec() >= getAt(gCuelist,k) and dmm_CDExtGetElapsedTrackMillisec() < getAt(gCuelist,k+1) then gPage = k
>>then gPage = k
I'd change this to:
gPage = k
No sense iterating your whole list unless you need to. With such a short
list it likely won't matter, but it's good practice to always do this.
Adobe Community Expert