I am making a browser, and I am adding a search bar to it. I am making it set the contents of the search bar to a variable, then setting the contents of the URL bar to "http://www.google.com/alltherandomsearchstuff=" and then the variable with the search terms. And it works fine, but I cannot get it to automatically submit the URL to the web view. So I want to add to my script to select (highlight) the contents of the URL bar, then keystroke return to submit the URL. Does anyone know how to select the contents of the text field in my nib file using applescript? Please Help! 
