2 Replies Latest reply on Jul 6, 2007 9:50 PM by wgb14

    put space between two words

    wgb14 Level 1
      Hi all,

      I am trying to emulte the function of the space key on the keyboard for an on-screen keyboard that I have for my application. This is my script. The problem is that although the script is working the flashing cursor int he text field does not move after the space (e.g., word space (cursor should be here and not at the end of the first word)). Many thnaks for any suggestions!

      on mouseup me
      c = member("textIN").text.length
      if c <> 0 then

      put " " into member("textIN").char[c+1]

      else
      beep
      end if