Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: Moving forward and backward through sequence of images in DirectRT

  1. #1
    Join Date
    Aug 2007
    Posts
    12

    Moving forward and backward through sequence of images in DirectRT

    In case it is not possible to have MediaLab accept key press input from a custom item written in JavaScript (see my previous post: Custom Items: OnKeyPress Allowed?), I have been trying to come up with an alternative method using DirectRT. My goal is to present a sequence of images through which participants can go back and forth until they choose the one they think is correct. I want them to use keys to control the image presentation because I am trying to ensure that they use their left hand in one condition and their right hand in another. This alternative method does not produce as smooth a transition between images as the JavaScript custom item would because of the DirectRT load time, but I guess I may have to live with that. I can get the DirectRT program to move forward and backward in the sequence of images (here using the F key (33) and D key (32)), but for some reason if one tries to use the D key (32) on the very first image in trial 2 below, the screen just goes black, even though 32 is not an acceptable response for that trial. Any solution to this would be much appreciated. Thanks!
    From trials 1 through 6:

    Code:
    ~Please use left hand. 0,.3,1 0 ~Place index and middle fingers on F and D keys. 0,.5,0 0 ~Press spacebar when ready to begin. 0,.7,0 rt:57 *
    muglefttiltleft30 0,0,1 rt:57<100,33<3 *
    muglefttiltleft27 0,0,1 rt:57<100,33<4,32<2 *
    muglefttiltleft24 0,0,1 rt:57<100,33<5,32<3 *
    muglefttiltleft21 0,0,1 rt:57<100,33<6,32<4 *
    muglefttiltleft18 0,0,1 rt:57<100,33<7,32<5 *
    Last edited by jarvis24; 09-19-2008 at 04:22 PM.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,323
    Hi Carol, before I launch into this, check out my response to your first question and let me know how that goes.

    see: http://www.empirisoft.com/support/showthread.php?p=4458

Similar Threads

  1. Backward Conditional Skip
    By ynwong in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 10-08-2007, 02:00 PM
  2. image sequence - recall
    By cragce3 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 02-15-2007, 04:51 PM
  3. Moving Licenses between computers
    By JEC in forum MediaLab Older Versions: Troubleshooting
    Replies: 1
    Last Post: 10-06-2006, 02:47 PM
  4. How do I create a moving window experiment?
    By tndotson@ucdavis.edu in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 04-07-2006, 03:15 PM
  5. Resizing Images?
    By jarvis24 in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 12-07-2005, 03:32 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
  •