User Tag List

Results 1 to 8 of 8

Thread: Direct key input

  1. #1
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Direct key input

    I have a condition:
    - User presses any key

    And I want the event:
    + Set Global String B to Blobal String B + the letter/symbol pressed.

    The problem is, that event is non-existant as far as I know. And I don't want to program each and every letter and symbol. AND I don't want to use text boxes or anything else that is visible in the frame editor that allows you to type.

    Thanks for any help, LB.
    Working as fast as I can on Fusion 3

  2. #2
    No Products Registered

    Join Date
    Jun 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    maybe try hiding an edit object outside of the frame
    and always set the focus on.
    then set the Global value to "global value" + get text of "Edit".
    then make it display the final result, and de-activate the group that it's in so the user can't keep hitting buttons.

  3. #3
    No Products Registered

    Join Date
    Mar 2007
    Location
    San Diego
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    If you always set focus on to an edit box you wont be able to use any buttons, edit boxes or rich edit objects (and maybe some other objects), which may be a problem depending on what you are trying to do. I can't seem to think of another way to do this off hand.

    I noticed you are trying to use a global value. Because it might contain letters you should use a global string.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    Quote Originally Posted by KetchupMaster
    If you always set focus on to an edit box you wont be able to use any buttons, edit boxes or rich edit objects (and maybe some other objects), which may be a problem depending on what you are trying to do. I can't seem to think of another way to do this off hand.

    I noticed you are trying to use a global value. Because it might contain letters you should use a global string.
    I meant string, sorry, I'll fix it.





    Quote Originally Posted by ansemsnobody
    maybe try hiding an edit object outside of the frame
    and always set the focus on.
    then set the Global value to "global value" + get text of "Edit".
    then make it display the final result, and de-activate the group that it's in so the user can't keep hitting buttons.
    If it is Always Global String B + get text of "Edit", then it will go like "wwwwywywywytwytwytwytrwytrwytrewytrewytre" untill it won't accept anymore.
    Working as fast as I can on Fusion 3

  5. #5
    No Products Registered

    Join Date
    Jun 2006
    Location
    Texas
    Posts
    1,002
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    ControlX

    Enjoy.

  6. #6
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    It still doesn't work. It goes like "HhGgEeLlWwXxNn" and so on.
    Working as fast as I can on Fusion 3

  7. #7
    No Products Registered

    Join Date
    Mar 2007
    Location
    San Diego
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    are you using: LastKeyPressed$( "Control X" ) from the control X object?

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Direct key input

    Yes, but I fixed it. I was just doing my eventing wrong. Thanks!
    Working as fast as I can on Fusion 3

Similar Threads

  1. Keyboard input vs player control input
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd August 2013, 09:00 PM
  2. Standard, Direct X or Direct 3D?
    By Pedro Almeida in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 23rd January 2012, 07:30 PM
  3. Direct Show
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 5th May 2009, 08:47 PM
  4. Direct Mic Input?
    By NathanGlover in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 17th November 2007, 10:06 AM

Posting Permissions

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