Click At Command
click at <x,y> [with optionKey,
The click at command is equivalent to clicking the mouse at a specific location. It can be used to send a mouseUp or mouseDown message to an x,y coordinate in the card window.
Using the [with key] form of click at produces the same effect as clicking the mouse while holding down the specified key or keys.
If <x,y> is in an unlocked field, the insertion point is set; if there is text at or past <x,y>, the insertion point is set at <x,y>. If there is text on the same line as <x,y>, but <x,y> is beyond the end of the text, the insertion point is set at the end of the line of text. If there is no text at <x,y>, the insertion point is set at the start of the line.
The following handler selects a word from a locked field when the user clicks on the word, and then displays the word in the Message Box. Place the following handler into the script of your locked field:
set the lockText of me to false
click at the clickLoc
get the selection
put it into clickVar
clickVar & quote
set the lockText of me to true
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.