I suspect that this is related to the issue you have also reported here: Insert Text replacing entire field content when used through web connect even when replace entire...
Sounds like WebDirect clients can't detect the position of the cursor or the parameters of any selected text.
Get(ActiveSelectionStart) does work via web connect. If that command works via web connect, then insert text should be able to work. I wrote a script that was able to insert text when I used the Get(ActiveSelectionStart) command.
Also I have to think that if web connect can determine Get(ActiveSelectionStart), it should be able to Get(ActiveSelectionSize)
Thank you for your posts.
In the FileMaker Pro Help for Get (ActiveSelectionSize), it states under "Notes"
"In FileMaker WebDirect, this function is not supported and returns an empty string."
And apologies for making a suggestion earlier that you use this function without checking its compatibility with WebDirect...
No Problem. I glad that you point out the commands in any event. I had been looking for them but I was looking for something like get(curser) or get (selection).
So thanks for responding.