home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Sound / MUImp3 / MUImp3.rexx < prev   
OS/2 REXX Batch file  |  2000-01-01  |  4KB  |  146 lines

  1. /* */
  2.  
  3. address MUImp3
  4. options results
  5.  
  6. MUIM_Application_AboutMUI = 0x8042d21d
  7. MUIM_Application_OpenConfigWindow = 0x804299ba
  8. TRUE = 1
  9. FALSE = 0
  10.  
  11. window id aa COMMAND """QUIT""" PORT MUImp3 TITLE """MUImp3 V1.0"""
  12.  menu LABEL "Project"
  13.   item COMMAND '"method 'MUIM_Application_AboutMUI' 0"' PORT MUImp3 LABEL "About MUI"
  14.   item COMMAND '"method 'MUIM_Application_OpenConfigWindow'"' PORT MUImp3 LABEL "MUI..."
  15.   item COMMAND '"quit"' PORT MUImp3 ATTRS 0x80422030 'Q' LABEL "Quit"
  16.  endmenu
  17. group register label "Main,Preference"
  18. group
  19. group horiz
  20.  group register label "Song Info,Add CD"
  21.   group
  22.    text id mes2
  23.    group horiz
  24.     label "Title"
  25.     string id mpt command '"rx MUImp3.mmp CHANGE 1%s"' port command
  26.    endgroup
  27.    group horiz
  28.     label "Artist"
  29.     string id mpr command '"rx MUImp3.mmp CHANGE 2%s"' port command
  30.    endgroup
  31.    group horiz
  32.     label "Album"
  33.     string id mpa command '"rx MUImp3.mmp CHANGE 3%s"' port command
  34.    endgroup
  35.    group horiz
  36.     label "Year"
  37.     string id mpy command '"rx MUImp3.mmp CHANGE 4%s"' port command
  38.    endgroup
  39.    group horiz
  40.     label "Comment"
  41.     string id mpe command '"rx MUImp3.mmp CHANGE 5%s"' port command
  42.    endgroup
  43.    group horiz
  44.     label "Genre Number(*)"
  45.     string id mpg command '"rx MUImp3.mmp CHANGE 6%s"' port command
  46.    endgroup
  47.    space
  48.    label left "Return saves changes"
  49.    text label "Genre Number not supported"
  50.   endgroup
  51.   group
  52.    button command '"rx MUImp3.mmp GETID"' port command label "Get CD Info"
  53.    text id mes1
  54.    slider id mint command '"rx MUImp3.mmp SCHECK"' port command attrs 0x8042d78a 99 0x8042e404 1 0x8042ae3a 1
  55.    slider id maxt command '"rx MUImp3.mmp SCHECK"' port command attrs 0x8042d78a 99 0x8042e404 1 0x8042ae3a 99
  56. space
  57. button command '"rx MUImp3.mmp ADDCD"' port command label "Add Song(s)"
  58.   endgroup
  59.  endgroup
  60.  group
  61.   label left "Projects"
  62.   list id song command '"rx MUImp3.mmp SHOWINFO %s"' port command
  63.   group id butt ATTRS 0x80423661 FALSE
  64.    group horiz
  65.     button command '"rx MUImp3.mmp REMOVE"' port command Label "Remove"
  66.     button command '"rx MUImp3.mmp CONVERT"' port command label "Convert"
  67.     button command '"rx MUImp3.mmp CONVALL"' port command label "Convert All"
  68.    endgroup
  69.    group horiz
  70.     button command '"rx MUImp3.mmp TTOF"' port command label "Track > File"
  71.     button command '"rx MUImp3.mmp ATTOF"' port command label "All > File"
  72.     button command '"rx MUImp3.mmp ADDFILE"' port command label "Add File"
  73.    endgroup
  74.   endgroup
  75.  endgroup
  76. endgroup
  77. text id mes3 label "MUImp3 Robin Hueskes robin@amiganiac.de"
  78. endgroup
  79. group
  80. group horiz
  81.  group
  82.   group frame label "Main Prefs"
  83.    group horiz
  84.     label label "Temp"
  85.     popasl id temp content "sys:"
  86.    endgroup
  87.    group horiz
  88.     label label "Dest"
  89.     popasl id dest content "sys:"
  90.    endgroup
  91.    group horiz
  92.     label label "CD-ID's"
  93.     popasl id cdid
  94.    endgroup
  95.   endgroup
  96.   group frame label "CDDA Prefs"
  97.    group horiz
  98.     label label "CD-Device"
  99.     string id cdev content "blizzppc.device"
  100.    endgroup
  101.    group horiz
  102.     label label "CD-Unit"
  103.     slider id cdun attrs 0x8042d78a 16 0x8042e404 0 0x8042ae3a 1
  104.    endgroup
  105.    cycle id plan label "Plan A,Plan B,Plan C,Plan D,Plan E,Plan F"
  106.   endgroup
  107.  endgroup
  108.  group frame label "NcodeR Prefs"
  109.   group horiz
  110.    label label "Ncode"
  111.    popasl id path content "c:ncode"
  112.   endgroup
  113.   group horiz
  114.    group
  115.     check id copy
  116.     check id orig
  117.     check id crc
  118.     check id max
  119.    endgroup
  120.    group
  121.     label label "Copyright"
  122.     label label "Original "
  123.     label label "CRC Check"
  124.     label label "Maximize "
  125.    endgroup
  126.   endgroup
  127.   group horiz
  128.    label label "Bitrate"
  129.    cycle id bitr label "32,40,48,56,64,80,96,112,128,160,192,224,256,320"
  130.   endgroup
  131.   group horiz
  132.    label label "Format"
  133.    cycle id ster label "Auto,Stereo,MS-Stereo"
  134.   endgroup
  135.  space
  136.  endgroup
  137. endgroup
  138. space
  139.  button command '"rx MUImp3.mmp SAVE"' port command label "Save Preferences"
  140. endgroup
  141. endgroup
  142. endwindow
  143. callhook id song app command '"rx MUImp3.mmp ADDFILE %s"' port command
  144.  
  145. address command;
  146. 'rx MUImp3.mmp INIT'