If the screenplay is considered as not a text, but a prototype which attempts to anticipate the interactions between the audience and the future film made from the script, then the insights of interaction design have a great deal to offer the practice and theory of writing for the screen.
File under connections between cinema and software.