harry Contributor


Joined: 01 May 2003 Posts: 61
|
Posted: Wed May 12, 2004 2:34 am Post subject: |
|
|
heres a my first mci test converted from 2.5 i think so long ago
memory fades so its not a fancy GUI but it has lots of @mci ()
functions........ it will play *SOME* GameCD audio also . rip game sounds.. works on my burner 52x32x52x
harry
| Code: | REM *** Converted by Script Converter on Tuesday, May 11, 2004 7:20 PM ***
REM CDPlayer by Harry F. Mahann.
REM playssome GameCD audio also.
REM if there is more than 20 tracks press button 20 and player will play rest of cd
title CD Player
%5 = @mci(open CDAudio shareable)
%R = @mci(Set CDAudio time format tmsf)
%B = @mci(Status CDAudio number of tracks)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
REM *** Changed by Script Converter ***
DIALOG CREATE,CD Player,-1,0,415,155
DIALOG ADD,BUTTON,BUTTON1,13,10,44,20,1,,DEFAULT
DIALOG ADD,BUTTON,BUTTON2,13,60,44,20,2
DIALOG ADD,BUTTON,BUTTON3,13,110,44,20,3
DIALOG ADD,BUTTON,BUTTON4,13,160,44,20,4
DIALOG ADD,BUTTON,BUTTON5,13,210,44,20,5
DIALOG ADD,BUTTON,BUTTON6,13,260,44,20,6
DIALOG ADD,BUTTON,BUTTON7,13,310,44,20,7
DIALOG ADD,BUTTON,BUTTON8,13,360,44,20,8
DIALOG ADD,BUTTON,BUTTON9,35,10,44,20,9
DIALOG ADD,BUTTON,BUTTON10,35,60,44,20,10
DIALOG ADD,BUTTON,BUTTON11,35,110,44,20,11
DIALOG ADD,BUTTON,BUTTON12,35,160,44,20,12
DIALOG ADD,BUTTON,BUTTON13,35,210,44,20,13
DIALOG ADD,BUTTON,BUTTON14,35,260,44,20,14
DIALOG ADD,BUTTON,BUTTON15,35,310,44,20,15
DIALOG ADD,BUTTON,BUTTON16,35,360,44,20,16
DIALOG ADD,BUTTON,BUTTON17,57,110,44,20,17
DIALOG ADD,BUTTON,BUTTON18,57,160,44,20,18
DIALOG ADD,BUTTON,BUTTON19,57,210,44,20,19
DIALOG ADD,BUTTON,BUTTON20,57,260,44,20,20
DIALOG ADD,BUTTON,pause,94,244,78,32,Pause/Stop
DIALOG ADD,BUTTON,PLAY,94,322,80,32,Play
DIALOG ADD,BUTTON,open,94,88,78,32,Open
DIALOG ADD,BUTTON,shut,94,166,78,32,Shut
DIALOG ADD,BUTTON,cancel,94,10,78,32,Cancel
DIALOG ADD,BITMAP,BITMAP1,1,367,,,about.ico,,HAND,CLICK
REM *** The following line will require re-coding
REM *** See upgrade notes for more information
REM DIALOG ADD,POPUP,Minimize|Maximize|BYE!
DIALOG ADD,STATUS,track,This CD has %B tracks : Playing track :%D :%C
DIALOG SHOW
:evloop
wait event
dialog set,track,This CD has %B tracks : Playing track:%D :%C
goto @event()
:BUTTON1BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 1)
%F = @mci(Play CDaudio from 0 to 1)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON2BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 2)
%F = @mci(play cdaudio from 2)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON3BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 3)
%F = @mci(play cdaudio from 3)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON4BUTTON
DIALOG CLEAR, track
%g = @mci(Seek CDAudio to 4)
%h = @mci(play cdaudio from 4)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON5BUTTON
DIALOG CLEAR,track
%R = @mci(Seek CDAudio to 5)
%U = @mci(play cdaudio from 5)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON6BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 6)
%F = @mci(play cdaudio from 6)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON7BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 7)
%F = @mci(play cdaudio from 7 to 8)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON8BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 8)
%F = @mci(play cdaudio from 8)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON9BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 9)
%F = @mci(play cdaudio from 9)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON10BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 10)
%F = @mci(play cdaudio from 10)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON11BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 11)
%F = @mci(play cdaudio from 11)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON12BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 12)
%F = @mci(play cdaudio from 12)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON13BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 13)
%F = @mci(play cdaudio from 13)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON14BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 14)
%F = @mci(play cdaudio from 14)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON15BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 15)
%F = @mci(play cdaudio from 15)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON16BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 16)
%F = @mci(play cdaudio from 16)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON17BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 17)
%F = @mci(play cdaudio from 17)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON18BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 18)
%F = @mci(play cdaudio from 18)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON19BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 19)
%F = @mci(play cdaudio from 19)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:BUTTON20BUTTON
DIALOG CLEAR, track
%E = @mci(Seek CDAudio to 20)
%F = @mci(play cdaudio from 20)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:pauseBUTTON
%M = @MCI(pause cdaudio)
%N = @mci(Status CDAudio current track)
%O = @mci(Status CDAudio Mode)
DIALOG SET, track,This CD has %B tracks : Playing track: %N :%O
goto evloop
:playBUTTON
%X = @MCI(play CDAudio)
%P = @mci(Status CDAudio Mode)
%Q = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks :Playing track:%Q :%P
goto evloop
:openBUTTON
DIALOG CLEAR, track
%R = @mci(Set CDAudio Door Open)
%C = @mci(Status CDAudio Mode)
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D :%C
goto evloop
:shutBUTTON
DIALOG CLEAR, track
%R = @mci(Set CDAudio Door closed)
wait
%D = @mci(Status CDAudio current track)
DIALOG SET, track,This CD has %B tracks : Playing track:%D
goto evloop
:BITMAP1CLICK
info CDPlayer@CHR(169) 1996 Mahann Technical Services @CR()I made 'dis Software by Harry F. Mahann
goto evloop
:cancelBUTTON
%S = @MCI(Stop CDAudio)
goto close
:MinimizeMENU
WINDOW ICONIZE, CD Player
goto evloop
:MaximizeMENU
WINDOW NORMAL, CD Player
goto evloop
:BYE!MENU
:Close
%T = @MCI(Close CDAudio)
exit
|
Last edited by harry on Wed May 12, 2004 4:09 pm; edited 1 time in total |
|