User Tag List

Results 1 to 2 of 2

Thread: Set of numbers

  1. #1
    Clicker Fusion 2.5 Developer
    Timon's Avatar
    Join Date
    Nov 2011
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Set of numbers

    Hi. I have small problem. I want to use more numbers than 1.
    For example, extension ask me to give the number of keyboard key, I put 65 (which mean "A").
    I wont use 26 conditions with that, (User put key '65' then write 'A', User put key '66' then write 'B', User put key '67' then write 'C' and so on).
    If You know what I mean, (Alphabetical keys) there is A - Z (65-90).
    I know, I can use a loop to do that, but I want different idea.

    Is there a way to put the range (something like User put key $Range(65,90))? Some extension which can store ranges?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can do this in stages, passing values to other objects. Are you using the Control-X extension? If you are, you can use the "Key down" event to put the number of the last pressed key into a counter, and then react based on the value of that counter further down the event list - for example, if (counter > 0), add (key name(value(counter)) to a string and reset the counter to 0 ready to accept another keystroke. (I think you can get the key name from the value by using another function of Control-X.)

Similar Threads

  1. Random Numbers and expiring the result numbers.
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th April 2013, 04:11 PM
  2. Adding numbers?
    By blub in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th April 2012, 05:16 AM
  3. Random Numbers Greater then Random Numbers...
    By Hordolur in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th April 2009, 06:24 AM
  4. hex numbers?
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 1st August 2008, 05:39 PM
  5. How do I get only these numbers: 2 to 48?
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th December 2007, 10:27 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
  •