home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Utilities / ACDPlay / src / V1.6 / ARexx.txt < prev    next >
Text File  |  1998-07-18  |  3KB  |  203 lines

  1. ACDPlay's ARexx commands
  2. ------------------------
  3.  
  4.  
  5. rudimentary controls
  6. --------------------
  7.  
  8. PLAY
  9. starts playing  the cd  or continues  with playing
  10. after pause
  11.  
  12. PLAY <track>
  13. plays a specific track
  14.  
  15. STOP
  16. stops playing
  17.  
  18. PAUSE
  19. interrupts playing, continue by command PLAY
  20.  
  21. NEXTSONG
  22. jumps  to the  track next  to the  current one and
  23. starts playing
  24.  
  25. PREVSONG
  26. jumps to the track previous to the current one and
  27. starts playing
  28.  
  29. EJECT and
  30. OPEN
  31. both open the cd tray
  32.  
  33. CLOSE
  34. closes cd tray
  35.  
  36. LOCKCD
  37. disables eject button on cd-rom drive
  38.  
  39. UNLOCKCD
  40. enables eject button on cd-rom drive
  41.  
  42.  
  43.  
  44. current data
  45. ------------
  46.  
  47. GETCURRENTTRACK
  48. returns the number of the track currently played
  49.  
  50. GETCURRENTINDEX
  51. returns the current index
  52.  
  53. GETTRACKLENGTH
  54. returns  the length  of the  current track  in msf
  55. format
  56.  
  57. GETTRACKPOSITION
  58. returns  the  position  within  the  track  in msf
  59. format
  60.  
  61. GETABSPOSITION
  62. returns the  position within the  cd in msf format
  63.  
  64. ISUNITREADY
  65. tests if the cd-rom drive is ready
  66.  
  67. GETSTATUS
  68. returns the  current playing status  of the cd-rom
  69. drive:
  70. 0 - no disk inserted
  71. 1 - stopped
  72. 2 - playing
  73. 3 - paused
  74.  
  75.  
  76.  
  77. cd data
  78. -------
  79.  
  80. GETTITLE
  81. returns the cd title
  82.  
  83. GETARTIST
  84. returns the cd's artist
  85.  
  86. GETSONGNAME
  87. returns the current track's name
  88.  
  89. UPDATETITLES
  90. reads titles from hd
  91.  
  92. SAVETITLES
  93. saves current titles onto hd
  94.  
  95. GETCDLENGTH
  96. returns length of current cd in seconds
  97.  
  98. GETTRACKNUMBER
  99. returns number of tracks
  100.  
  101. GETFIRSTTRACK
  102. returns the number of the first track
  103.  
  104. GETFIRSTAUDIOTRACK
  105. returns the number of the first audio track
  106.  
  107. GETCDID
  108. returns the  cd  id  used for  saving  titles  and
  109. programs
  110.  
  111.  
  112.  
  113. drive data
  114. ----------
  115.  
  116. SETVOLUME <volume>
  117. sets the master volume, 0 .. 255
  118.  
  119. GETVOLUME
  120. returns the master volume
  121.  
  122. GETVENDOR
  123. returns the name of the cd-rom drive's vendor
  124.  
  125. GETVENDORID
  126. returns the vendor id
  127.  
  128. GETPRODUCT
  129. returns the product's name
  130.  
  131. GETREVISION
  132. returns the revision of the product
  133.  
  134. GETVENDORSPECIFIC
  135. returns information specific to the vendor
  136.  
  137.  
  138.  
  139. scsi/atapi data
  140. ---------------
  141.  
  142. GETDEVICE
  143. returns the name of the device driver
  144.  
  145. GETUNIT
  146. returns the unit of the device
  147.  
  148. GETLUN
  149. returns the logical unit number
  150.  
  151. GETSENSEKEY,
  152. GETADDSENSECODE and
  153. GETADDSENSECODEQUAL
  154. return values  that are  used to determine  errors
  155. which the device probably reported
  156.  
  157.  
  158.  
  159. programming
  160. -----------
  161.  
  162. APPENDELEMENT <track>
  163. adds one of the cd's track to the program
  164.  
  165. DELETEELEMENT <element>
  166. deletes one element from the program, 0 being the first
  167.  
  168. DELETEPROGRAM
  169. deletes the whole program
  170.  
  171. COPYALLPROGRAM
  172. builds a program  which is identical  to the track
  173. list
  174.  
  175. SAVEPROGRAM
  176. saves the program cd-specificly
  177.  
  178. LOADPROGRAM
  179. loads the specific program
  180.  
  181.  
  182.  
  183. application
  184. -----------
  185.  
  186. SHOW
  187. uniconifies ACDPlay
  188.  
  189. HIDE
  190. iconifies ACDPlay
  191.  
  192. OPENWINDOW <window>
  193. opens a specific window, 0 .. 9
  194.  
  195. CLOSEWINDOW <window>
  196. closes a specific window, 0 .. 9
  197.  
  198. SHOWMESSAGE <text>
  199. opens a requester which displays the given text
  200.  
  201. QUIT
  202. don't use ;-)
  203.