lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,620
- Last Active
- Roles
- Administrator
Comments
-
Hi Martine, I'm not completely sure whether I understand your question correctly. But herewith already a few comments. (Quote) This doesn't mean that after every sketchpad, participants have to press the down key 20 times, does it? By looking at y…
-
Good to hear! :) (Quote) Just as a final note: When using the above-suggested Python inline code, the variable 'clicked_img' contains the name of the clicked item.
-
This question has been answered in this post: * http://forum.cogsci.nl/index.php?p=/discussion/390/open-set-duration-in-form#Item_4</>
-
Great! Feel free to post any further questions you may have!
-
Hi, Great to hear that you're almost there! (Quote) I just noticed you already solved this one yourself. Just for your interest, herewith a bit of explanation: Your list of possible column positions was: cols = [1,2] Because in Python we start …
-
Hi, Welcome to the forum! A while ago another OpenSesame user had a related question, where she wanted to make sure that the text input from a form_base item was a number between 0 and 100. Perhaps our response to that question already gives you …
-
Hi, To make in-the-GUI-defined variables available in an inline_script item, you use a different approach than the square-bracket method, namely the experiment function self.get(). For example, if you want to use your in-the-loop-defined variable …
-
Hi, Sebastiaan refered you to a post in which he and Jason used Python inline scripting instead of OpenSesame script to present the form widgets. If you try to paste Python code into the form_base script editor it's not recognised as 'correct' Open…
-
Hi Noam, The best way to achieve this is to insert a variable delay immediately after collecting the response. By doing so, the total delay (response_time + delay) is always the same. The delay would be, for example, 2000 ms - response_time. You c…
-
Hi Luke, You can avoid the target from being presented twice in a row by preparing your trial list at the start of your experiment. This can be achieved by placing something like the following code in an inline_script item at the beginning of your …
-
ITA We will answer your post as soon as possible!
-
Hi, Yes, that's possible. How to implement clickable image buttons is described here: * http://osdoc.cogsci.nl/forms/custom-forms/ For an example of how to achieve this, this post: * http://forum.cogsci.nl/index.php?p=/discussion/309/open-radio-…
-
Hi Kiri, I'm glad to hear! Feel free to post any further questions you may have. A happy Easter to you too! Lotje
-
You're welcome! Feel free to post any other questions you may have!
-
Hi, Welcome to the forum! Yes, using a variable containing file names as values in order to determine which image(s) to show is certainly possible. The step-by-step tutorial gives an example of how to achieve this, on page 10 in the section 'Draw…
-
Hi Kiri, Are you trying to print the variables in a different inline_script than the inline_script where you defined them? (Note that even the Run phase tab of the same item is considered as a different inline_script.) To make variables available …
-
Hi, To make an in-an-inline_script-defined variable available in the interface (e.g. the logger item) as well, you need to set the variable by using the experiment function exp.set() like so: exp.set("correct_cnt", correct_cnt) You need…
-
Hi Kenny, The variable 'response_time_keyboard_response' contains the RT of the key press collected by the keyboard_response item called 'keyboard_response'. Therefore, this is probably your variable of interest, also for the incorrect responses. …
-
Hi, At first sight, your code seems fine. Could you perhaps paste the exact error message (from the debug window) here? To open the debug window, simply click on the red ladybug icon in the main toolbar. Many thanks, Lotje
-
Hi Dror, You're welcome! I'm glad to hear it's working as desired! :) Luckily, if you have multiple response items (for example, two keyboard_response items) you don't have to worry about logging their respective output variables separately yourse…
-
Hi Florence, Welcome to the forum! I think the best way to give participants a second chance after an incorrect answer is by executing the following steps: * Append some 'second chance' items (e.g. a second sketchpad, for (almost) the same stimul…
-
Hi, The variable 'correct_in_a_row' is not a built-in OpenSesame variable. Sebastiaan meant that you have to declare this variable first, in an inline_script item. However, for your specific situation I think you don't even need to use the 'Run if…
-
Hi, Just to add: After uploading your script to pastebin, other users can download it and than change the extension to '.opensesame'. After doing so, other OpenSesame users should be able to open the experiment like normally. As an example, see th…
-
Hi Dror, Sure, that's certainly possible. You'll need a little bit of Python inline scripting for this. More specifically, you could continuously pull keyboard responses (with the timeout of the keyboard_response item set to zero) until a certain …
-
Hi, The advanced-options functionality exists from OpenSesame 0.27 onwards (on Windows and Ubuntu) and can be found here: (Image) If you're using an older version of OpenSesame you should upgrade to be able to use these options. Afterwards, you …
-
Hi Boo, You're welcome! Have a nice weekend! :) Lotje
-
Hi Rob, Sure, that's possible. You'll need a little bit of Python inline scripting for this. More specifically, you want to check whether none of the rating scale responses has the value 'None' (meaning no box was ticked). In order to use the ratin…
-
Hi Boo, (Quote) The machine timestamp of the response can be calculated by adding the 'respones_time' variable and the 'time_sketchpad' variable (which is the timestamp of the item call, in ms). Of course, the exact name of the latter depends on ho…
-
Hi Noam, It's still not completely clear to me what you mean. If you don't want participants to give multiple keyboard responses before the response effect (your second sketchpad) is shown, you could set the duration of the first sketchpad to 0, a…
-
Hi, I think that the names of the items don't have a small font, but that the 'Info' bar is slided too far over the 'Name' bar. So if you just slide the 'Info' bar to the right, your problem should be solved. (Image) Does this help? Best, Lotje