Thanks Jacque, as I didn't think anything had been selected, I never thought of 'the selection'. In fact the LC dictionary says
> The selection is a reference to the currently selected text. Which doesn't seem to accord with a flashing cursor in a text string and nothing highlighted, i.e. nothing selected - but there it is. Thanks again - I can move on. Graham > On 2 Nov 2014, at 19:19, J. Landman Gay <[email protected]> wrote: > > Use "the selection" : > > put myChar after the selection > > > On November 2, 2014 10:56:06 AM CST, Graham Samuel <[email protected]> wrote: >> >> if "field" is in the focusedObject then >> put myChar after the focusedObject >> end if >> >> But of course 'after' ignores the position of the insertion point. I >> can't see how to bring the insertion point into it. > -- > Jacqueline Landman Gay | [email protected] > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
