Reading a Text Field?

If I want to have two text fields, lets say User and Password. Can I possibly make a applescript that reads from those text fields. Example:

keystroke "*Text Field Text Here*"

Like If you were to type “absfcs” in the text box it would do

keystroke "absfcs"

Also, can you possibly save the info? Like save the info that is in the text fields?

Is this possible?

Thank you,
Val.

Regarding the first two of questions: That’s a little vague; Do you know how to reference objects in AS Studio?

on clicked theObject
	set keys to content of text field "whatever" of window "whatever"
	tell application "System Events" to keystroke keys
end clicked

Next time, you should try to define the problem better, and make a separate topic for each problem. That said, I’ll assume you’re looking for Bindings.

Thanks, I have figured out the binding, no I do not know how to reference objects, so I am reading a few articles. Thanks for pointing me in the right direction.
Valmilu