auto fill input field in safari

i have an input field on my website that i would like to be autofilled… i was planning to just use the keystroke tab method to get to it but safari does not seem to show the form box the same as firefox, which is a text box i can just enter data into… so i either need to enter the data by code… or if there is some way i can click on the “choose file” button and selecta file from my harddrive that way?


What I would do is embed javascript functions in the source. After doing this, I can run the functions through AppleScript/javascript/Safari and do things such as set the value of a text field. Here’s an article on how to do this:

I’ve never done this before, but it doesn’t look too hard to do.

Hope this isn’t another Firefox hurdle thing.