title: Play music (song album or artist) with variables in AppleScript
body: <p>I'm making trying to make an apple script that understands a text command "Play song We will Rock You" or "Play artist Queen" or "Play album A Night at the opera"</p>
  
  <p>using songName artistName and albumName as variables, but i don't know how to set them, as they depend on the previuos word (song,artist,album) in an answer which is "Play song songName" (PLAY must be in the field).</p>
  
  <p>I know how to make them play I just need to set those variables in order to use just one textfield.</p>
  
  <p>Thanks for you help (hope I was clear)</p>