ekakoki

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: MTurk completion code #7103
    ekakoki
    Participant

    Hello,

    I’ve tried using this for my own experiment, but I couldn’t find a way to log the code. At first, I thought I could do this by simply writing this code:

    
    newText("display", "Your unique code is: " + Code).center().print()
    ,
    getText("display").log()
    

    But when I ctrl+F’ed the code that was shown on the screen when I took it, there were no matches in the results file. Is there a way to directly log the Code constant? Or better syntax in logging displays? Thank you!

    in reply to: Restart trial #7074
    ekakoki
    Participant

    That was it! Thank you so much for your help, everything is running smoothly now!

    in reply to: Restart trial #7072
    ekakoki
    Participant

    Thank you for the help! It runs!…But I also realized that I’d need to include the trial number in describing which audio to play, as each trial has a different correct answer. I tried simply adding the trial number as a new parameter and into the newAudio line of whichOne, but it came back with another undefined property error. I then tried taking the newAudio line out completely and using it immediately afterwards:

        ...whichOne([1,2,3,4,5,6], "response")
        ,
        newAudio("ex" + exNum + "o" + getVar("selected") + ".m4a").play().wait()
    

    However, it won’t play anything upon clicking on the options, and it doesn’t let me continue to the next practice example. The demonstration link is here: https://farm.pcibex.net/r/EIXHMT/
    Maybe I can’t use getVar in this context? But I’m not sure why not.

    in reply to: Mouse Tracking Data Analysis #6764
    ekakoki
    Participant

    That makes so much sense! Thank you so much, and for your quick response!

Viewing 4 posts - 1 through 4 (of 4 total)