Find a real text file and use Set Run Action on that. Using Open As Text (or Shift clicking on the file) just pretends that the type is text/plain.