User Tag List

Results 1 to 6 of 6

Thread: detect keyboard typing in editbox

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    detect keyboard typing in editbox

    I want to be able to detect if someone is typing some text in edit box. If he pauses typing or when backspace is pressed we know he is not typing. I tried using timers and other techniques with no success.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,821
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)
    What about comparing the length of the edit box entry zone to a length of it you stored "X" time ago.
    If the 2 numbers are the same you know the person is not actively typing in the edit box.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Dec 2013
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What Jeff said, or you could always add to a timer value and reset the time passed with the "any key pressed" action.

    Pseudo code:

    Any key pressed -> reset timer


    always -> add 1 to timer


    timer >= 500 --> show string "hey, are you still there?"


    and so on.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Any Key Pressed" condition does not work when the edit box has input focus. so I cant apply it here. What Jeff said is what I want to try but cant figure out how to accomplish it. Still trying

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Dec 2013
    Posts
    135
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is an Keyboard extension that also has an any key pressed event, just negate it and it will work. I just tested it.

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    Jun 2011
    Location
    East of Africa
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Vaxx that worked!

Similar Threads

  1. Text Typing
    By darkmanx_429 in forum Fusion 2.5
    Replies: 5
    Last Post: 6th March 2014, 11:07 AM
  2. Single Line Editbox Keyboard problem
    By virtualrom in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 16th December 2011, 03:17 AM
  3. Typing match game question?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st November 2011, 01:33 PM
  4. Text Typing + Sound Effect needs work
    By N64Mario in forum File Archive
    Replies: 6
    Last Post: 28th September 2011, 11:38 AM
  5. Multiwidget of self-typing text
    By Jacob in forum Widgets
    Replies: 1
    Last Post: 11th December 2007, 01:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •