Radio button group in Xcode


How do i get the result of a radiobutton group of a simple interface in xcode.

I 've got 2 radio buttons, “L” and “R” and a text field.
How do i get the title of the buttons in the text field.

the received action works. but then…

thanks in advance

This helped me.

on LinksofRechts_(sender)
set mytekst to title of sender as string
tell input_field to setStringValue_(mytekst as string)
end LinksofRechts_