the selectedField or selectedField()
The selectedField() function returns the field in which the currently selected text is contained. SelectedField returns the value in the following format:
<card | bkgnd> <field> <number>
The following handler, placed in a card script, selects everything in a selected field when Shift-Enter is pressed:
if the shiftKey is down then
select text of the selectedField else pass returnInField
This text has been mechanically extracted from the Oracle Media Objects 184.108.40.206 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.