How do I trap the "text insertion point"?
alanIra9 at mac.com
Wed Oct 23 20:15:00 EDT 2002
Like I said - "simple"
MANY thanks for the point in the right direction
On Wednesday, October 23, 2002, at 07:39 PM, Richard Gaskin wrote:
> Alan Gayne wrote:
>> Hi all!
>> I've been trying to emulate the Quickeys "Type Text" function - i.e. to
>> be able to click on a button and have the text that has been stored
>> as a
>> custom property inserted at that place in a field where the text
>> insertion iBeam is located. The only problem with this is that I can't
>> seem to find a way to find out the location of the iBeam so I cn tell
>> rev to put my text there.
>> I would suspect that the iBeam insertion point is a system property
>> since Quickeys is able to insert text into any open application with an
>> editable field and such a basic property must be readily available to
>> every open application, including the RunRev script editor.
>> Nevertheless, after spending hours looking through the transcript
>> dictionary (for which a simple index would be REALLY helpful) I can't
>> seem to locate any function that either reports this property and
>> converts it to a location usable by RunRev.
>> It seems like this has GOT to be something simple but I'll be darned if
>> I can find it.
> See the selectedChunk function.
> Richard Gaskin
> Fourth World Media Corporation
> Custom Software and Web Development for All Major Platforms
> Developer of WebMerge 2.0: Publish any database on any site
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> Tel: 323-225-3717 AIM: FourthWorldInc
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode