Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Keyboard response and advanced loop operations

Hi, I am new to Open Sesame, thank you for this forum which is most helpful. I am currently designing an experiment and with grateful thanks to a lot of help from @Daniel, I am almost there.

I have two questions which I would be grateful for any advice esp. as I do not have programming experience.

Keyboard response

I have set up my keyboard response to:

  • correct response (blank)
  • allowed response (a;b)
  • timeout (2000)
  • event type (keypress)

My questions are:

  • Is this the correct format? It does not seem to be picking up the responses, despite me setting up a variable in my sequence called correct_response. I have tried to define this in allowed response, but when I do this I get an error message.
  • Is there a way to set up a forced response? at present, if no answer is given, the experiment moves on.

My second question is with regards to:


I have a section of the experiment where some images are shown more than others. These are now defined under the 'w' variable. I have added 'shuffle' to my inline script, however I note that my rows are still coming up as a block despite order being selected as 'random'.

If anyone has the time to help with these questions, I would be most grateful. Thank you.


  • Hi, I've solved some answers. However, please may I ask if it is possible to force a participant to give a response? I have my keyboard response set to 2000 at present.

    I am also still trying to solve the weight issue where my items still come up as a block?

    Thanks in advance.

  • Hi,

    What do you mean with force? You can stall the experiment until a keypress has been made. To do so, you need to set duration of the stimulus to keypress. If you still need to stimulus to be on screen for only 2 seconds, you can use 2 sketchpads presented one after another. The first one has a duration of 2 seconds and shows the stimulus, the second is blank and has a duration of keypress.

    Does that make sense?

    Buy Me A Coffee

  • @eduard thanks for your help, it makes total sense and that has solved it. Thank you!

    My other question is with regards to using the weight function in my loop. I have some stimuli (images) where some images are repeated more than others. To explain this better, I have a loop where 4 rows are repeated 18 x each and other rows have an image which is repeated twice in a row as well as the row being repeated 2 x each. The whole loop is set to 'random' order. With Daniels' help, I used a weight variable. I have also added shuffle to the inline text but find that I am still getting blocks of stimuli which are repeated and not coming up in random order. (if this doesn't make sense, I can send you the script for the loop).

    Thanks again, your help is much appreciated.

  • Hi,

    Yes, please, send the script. As a disclaimer, if you prepare this experiment for an online study, I won't be help you much as I have not worked with osweb yet.


    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games