User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Key Object beta

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Key Object beta

    Key Object is more advanced version of Virtual Key object for MMF1.5.

    Like Virtual Key object, this object features:

    • Testing for keys in ANY condition, even if window is out of focus.
    • List of Virtual Keys and their names.
    • A negatable condition to test for a key by Virtual Key code.

    Unlike the Virtual Key object, this object also features:
    • A negatable condition to test for a key by Key name (Case insensitive, both Space, space and SpAcE will work.).
    • A negatable condition to test for a for a key using MMF2's built in "Select Key" dialog.


    Suggestions? Bugs?
    Attached files Attached files

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    Norway
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    Looks sharp
    Jean Villy Edberg

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    Melbourne, Australia
    Posts
    765
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    Very nice,

    I've tested the app, works ok.

    Just noticed that the number of key codes in the list has been reduced compared to MMF1.5 Version, is there a reason for that?

    Also it may be beneficial to detect an up key stroke as well.

    In the past I have used the virtual key object to get out of some tricky interface problems, so this is a very useful object.

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,822
    Mentioned
    7 Post(s)
    Tagged
    2 Thread(s)

    Re: Key Object beta

    wow LIJI!

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    Very good object ! It can detect "Alt" key and all other keys of keyboard.

    It could be useful to have an expression for getting the current pressed key code and name.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    Quote Originally Posted by joewski
    Just noticed that the number of key codes in the list has been reduced compared to MMF1.5 Version, is there a reason for that?
    This object is not based on the MMF1.5 Version, so there might be some missing keys. I'll check those soon.

    Quote Originally Posted by joewski
    Also it may be beneficial to detect an up key stroke as well.
    The condition is negate-able if that what you mean.


    Quote Originally Posted by Sphax
    It could be useful to have an expression for getting the current pressed key code and name.
    It might be tricky, because you can press more than 1 key at once. Maybe a "Last Key" expression and expressions to convert Int to Key and stuff.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Key Object beta

    Looks and works great. Good ideas and suggestions coming in.

    Q: What are the "names" of the arrow keys?

    This does detect Alt, but in a toggle-fashion: first press = down, second press = up. I wonder if that could have an option to go either way in the object?

    Would some sort of action to enable/disable (allow/ignore) input would be a good idea? That would allow one expression to turn the object on and off, so to speak. Rather than having to have conditions that allow/dissallow testing input, or using groups, one action could disable and enable it when needed.

    Would that work and be practical?

    I don't want to overburden this project, and I think there is more than one object that disables keys and certain combinations. Since this is a new version of an object, and it is called the KEY object, why not cover those needs as well? That's just an idea that popped into my head.

    That aside, I wonder how this object responds when you use another object to disable keys?

    Great job LIJI!

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    -This does detect Alt, but in a toggle-fashion: first press = down, second press = up. I wonder if that could have an option to go either way in the object?

    Nope, Alt freezes MMF2 app window makes it look that way. :P

    -Would some sort of action to enable/disable (allow/ignore) input would be a good idea?
    Yes

    By disabling keys, you mean all programs or only this program?

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Key Object beta

    --? Nope, Alt freezes MMF2 app window makes it look that way. :P

    Oh, of course. Didn't think of that.

    --> By disabling keys, you mean all programs or only this program?

    An option for either/both?

  10. #10
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Key Object beta

    LIJI, if you have trouble working out how to disable keypresses for all programs, you could always use windows hooks. This article might help you learn about that.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Beta 15, Testing backdrop object, active object and drag and drop movement
    By Fernando in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 10th February 2012, 12:57 AM
  2. Beta 10: bug with Get object example
    By BHGames in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 3rd January 2011, 04:09 PM
  3. [Beta] uLoop Object, beta only
    By Dines in forum Extension Development
    Replies: 11
    Last Post: 12th June 2009, 12:30 AM
  4. Key Object beta 2
    By LIJI in forum Extension Developers Lobby
    Replies: 6
    Last Post: 2nd May 2007, 07:23 PM
  5. DLL Object Beta 5
    By DanielRehn in forum Extension Developers Lobby
    Replies: 1
    Last Post: 22nd September 2006, 11:38 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
  •