Cursor set on textfield automatically

Hello, how can i set the cursor into textfield automatically? no need to click and type here’s my code for my textfield

name = GUI.TextField (new Rect (25, 50, 150, 25), name, 8);

Im currently using Unity4.

You should really consider using the new GUI system in actual game since the old one is very limited and looks ugly, but what you might want to use in this case is GUI.FocusControl. Basically, put something like GUI.SetNextControlName("MyNameField"); before your input field and when you want to focus, call GUI.FocusControl("MyNameField");. This should do the trick, but I have not tried this.