Hello! My question, How I can make a list box plays the videos in sequence?
Looking for the examples in AMS found this:
%Property% = ListBoxObject[List Box Example].GetProperty ("Item Count")
%SelectedIndex% = ListBoxObject[List Box Example].GetSelected
%SelectedCount% = String.CountDelimitedStrings ("%SelectedIndex%", ";;")
IF (%SelectedIndex% = 0)
MediaPlayerObject[MediaPlayer1].Load ("%SrcDir%\Video1.mpeg")
END IF
IF (%SelectedIndex% = 1)
MediaPlayerObject[MediaPlayer1].Load ("%SrcDir%\Video2.mpeg")
END IF
it works well!!!
But How I can select anyone wait finish and play the next?
Hope somebody can help me.
Excuse my English but I don't speak well
Looking for the examples in AMS found this:
%Property% = ListBoxObject[List Box Example].GetProperty ("Item Count")
%SelectedIndex% = ListBoxObject[List Box Example].GetSelected
%SelectedCount% = String.CountDelimitedStrings ("%SelectedIndex%", ";;")
IF (%SelectedIndex% = 0)
MediaPlayerObject[MediaPlayer1].Load ("%SrcDir%\Video1.mpeg")
END IF
IF (%SelectedIndex% = 1)
MediaPlayerObject[MediaPlayer1].Load ("%SrcDir%\Video2.mpeg")
END IF
it works well!!!
But How I can select anyone wait finish and play the next?
Hope somebody can help me.
Excuse my English but I don't speak well
Comment