Translating keyword commands into executable code

Greg Little and Robert C. Miller

Abstract

Modern applications provide interfaces for scripting, but many users do not know how to write script commands. However, many users are familiar with the idea of entering keywords into a web search engine. Hence, if a user is familiar with the vocabulary of an application domain, we anticipate that they could write a set of keywords expressing a command in that domain. For instance, in the web browsing domain, a user might enter click search button. We call expressions of this form keyword commands, and we present a novel approach for translating keyword commands directly into executable code. Our prototype of this system in the web browsing domain translates click search button into the Chickenfoot code click(findButton("search")). This code is then executed in the context of a web browser to carry out the effect. We also present an implementation of this system in the domain of Microsoft Word. A user study revealed that subjects could use keyword commands to successfully complete 90% of the web browsing tasks in our study without instructions or training. Conversely, we would expect users to complete close to 0% of the tasks if they had to guess the underlying JavaScript commands with no instructions or training.

Venue
UIST 2006
Volume
Proceedings of the 19th annual ACM symposium on User interface software and technology
DOI
10.1145/1166253.1166275
PDF
https://dl.acm.org/doi/pdf/10.1145/1166253.1166275
Anthology ID
2006.uist.18

Cite

@inproceedings{little-miller-2006-translating,
    title = {{Translating keyword commands into executable code}},
    author = {Greg Little and Robert C. Miller},
    booktitle = {Proceedings of the 19th annual ACM symposium on User interface software and technology},
    isbn = {1595933131},
    year = {2006},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/1166253.1166275},
    url = {https://doi.org/10.1145/1166253.1166275},
    abstract = {Modern applications provide interfaces for scripting, but many users do not know how to write script commands. However, many users are familiar with the idea of entering keywords into a web search engine. Hence, if a user is familiar with the vocabulary of an application domain, we anticipate that they could write a set of keywords expressing a command in that domain. For instance, in the web browsing domain, a user might enter click search button. We call expressions of this form keyword commands, and we present a novel approach for translating keyword commands directly into executable code. Our prototype of this system in the web browsing domain translates click search button into the Chickenfoot code click(findButton("search")). This code is then executed in the context of a web browser to carry out the effect. We also present an implementation of this system in the domain of Microsoft Word. A user study revealed that subjects could use keyword commands to successfully complete 90\% of the web browsing tasks in our study without instructions or training. Conversely, we would expect users to complete close to 0\% of the tasks if they had to guess the underlying JavaScript commands with no instructions or training.}
}