User Tag List

Results 1 to 10 of 10

Thread: Question using the Timeline object...

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question using the Timeline object...

    Hey, LB! Thank you again for your help with the Timeline object. I can tell that I can put a lot of use to this once I figure out how to properly use it!

    I am still not getting any results when I keep the same name for a Timeline event. I set it up so that there are three event types: "Keystroke," "Left Mouse Click," and "Right Mouse Click."

    Just to also test whether I am having problems because I am trying to capture events outside the run-time application window, I placed a check box and edit box into the MMF application to see if I can record interactions with them. I haven't had any luck.

    I uploaded the latest iteration here:

    View MFA


    Perhaps my problem is that I am not setting up the event actions correctly?

    Thanks again!



    Most appreciatively...

    RGBreality

  2. #2
    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: Question using the Timeline object...

    Well, the first thing I notice is that you never try to make time move...you have no events to set the time speed! You may want to actually set it to 1 when recording and when playing back, so that time moves and all of your events are not in one single position!
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question using the Timeline object...

    Hey, LB! Making some progress!

    I hadn't realized that I was placing all my events in one moment of time. D'oh!

    I find that when I record key and mouse strokes, they seem to be duplicates multiple times. For example, if I type into an already-opened Notepad file "abc," and then click on the "Help" menu option, the mouse-click does something weird (it opens the dialog box displaying the name of the computer), and each letter is retyped multiple times.

    Here is the latest iteration:

    View MFA


    I wonder, do I need to place a "Only one action when event loops" condition along with the Timeline event condition?

    Thank you again for your help!



    Most appreciatively...

    RGBreality

  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: Question using the Timeline object...

    Current Event is the event being triggered, not the event you just added! You need to use # of events at position and subtract 1 to get the index of the last event.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question using the Timeline object...

    Hey, LB!

    Hmmm... I'm not sure I revised this action correctly (on the condition that a keystroke is made). Could you take another look at this and see if I did this correctly?

    View MFA


    If not, please feel free to revise the file and send it back to me.

    Thank you very much for all your help with this!



    Most appreciatively...

    RGBreality

  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: Question using the Timeline object...

    Yes, for event 7...but you forgot 8 and 9.
    Working as fast as I can on Fusion 3

  7. #7
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question using the Timeline object...

    Hey, LB!

    Hmmm... I still seem to be having the same problem... After I record three keystrokes ("abc"), playback produces multiple iterations of each letter, as if each Timeline object event were taking place multiple times each. What is interesting is that it generally produces the fewest multiple iterations of the first letter, more iterations for the second, and many, many iterations for the third.

    I suspect I'm still doing something wrong with the Timeline object. Any ideas?...

    Thanks again for all your help with this! Have a great one!

    EDIT: I forgot to post my latest iteration! D'oh!

    View MFA


    Most appreciatively...

    RGBreality

  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: Question using the Timeline object...

    You WERE supposed to be using CurrentEvent() for events 10, 11, and 12. Events 7 8 and 9 use Events at Position - 1.

    Also, look carefully at the conditions for event #7...take note that the GetLastKeyVal() is not changed until a new key is pressed. Do you see that it acts like an Always event?
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question using the Timeline object...

    Ah, LB! You are a good teacher! You were patient to help me out and took the time to give me hints and help, but you made me figure out what I was doing wrong myself! Kudos!

    I figured that I needed to use the condition "Use the key value of the last key value released" to make this properly work. Whew!

    I have a few questions regarding the Timeline object for you:

    1.) If I create events in the Timeline, but then want to reset the Timeline without keeping any events (similarly to making a recording of mouse and keystroke actions without keeping the recording), how would I reset the Timeline?

    2.) When loading a Timeline from file, how do I initiate that Timeline (ie, play it)? I guess I would move to Position 0 (or set Time to 0?)... But how do I initiate it?

    As always, thank you for your help and patience with a newbie!



    Most appreciatively...

    RGBreality

  10. #10
    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: Question using the Timeline object...

    Glad I could help

    1. Just load a timeline from a blank string, "", and use the overwrite old timeline option.

    2. Time and Time speed are not affected during save/load actions, and they are not saved/loaded to/from strings/files. You will want to reset the Time and Time speed to 0 when you load, and to play it just start at any position you want and use any time speed you want. It's no different than anything else
    Working as fast as I can on Fusion 3

Similar Threads

  1. [Beta] Timeline Object
    By LB in forum Extension Development
    Replies: 26
    Last Post: 21st March 2011, 07:50 PM
  2. Timeline object and its use to abort recordings...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 14th February 2011, 08:28 PM
  3. Timeline Object
    By Stephen in forum Released Extensions
    Replies: 0
    Last Post: 11th October 2010, 05:20 PM
  4. Timeline?
    By wizkidweb in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th August 2008, 06:22 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
  •