sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,296
- Last Active
- Roles
- Administrator
Comments
-
Hi @HenkvanSteenbergen , It's not terribly elegant, but you could include the index (i ) in te variable name, like so: vars.accblock1 = [] for (let i = 1; i < 12 ; i++) { vars['accblock1_' + i] = 1 } And then you can refer to the variable as [a…
-
Hi @trinhnguyen , Just to make sure: if you run it with a mouse, only a single click is necessary? What operating system are you using? In my experience, the touch_response and mouse_response items (which use the same underlying functionality) are…
-
Hi @ekm , It will be challenging to find out why it crashes. However, it's likely something that's very specific to one of the libraries in combination with this specific system, and there's a good chance that it will run fine if you install OpenSes…
-
Hi @ChristianB and @Fab , I see it's already been resolved 👍️ Another way would've been to initialize the variable with something that actually isn't shown, but that does prevent the string from being converted to a number. For example, a …
-
Hi @joelsolo99 , Yes, that's possible. If the transparency is already in the images (i.e. there's an alpha layer), than it's just a matter of showing the images on a sketchpad . If you want to vary the transparency programmatically, then you can do …
-
Hi @eduard , @jsneuro , and @EBlini , Your best bet is probably to create a Python 3.8 environment with Anaconda, and then install OpenSesame in there. OpenSesame is compatible with all recent versions of Python, including Python 3.8. https://osdoc.…
-
@SaleSarma Yes. Assuming that there's a sound file called bark.ogg in the file pool, then you can play it like this: pool['bark.ogg'].data.play()
-
@robbertmijn @joeymac This is due to updated to the EyeLink SDK. This has also broken the fixation-triggered drift correction. It's on the radar, and once we've resolved it we'll update PyGaze. For now you can also replace eyelinkgraphics.py with t…
-
I'm not sure creating a keyboard object directly from code is possible There is indeed currently no Keyboard object in JavaScript as there is in Python. If you want to implement custom key-press handling, the way to go is (as @Fab already pointed …
-
@tong Thanks for pointing this out. This is actually a security features of some browsers (text input not allowed in fullscreen), and currently seems to affect Chrome but not Firefox. I'm not sure how to work around this (or if this is even possible…
-
Did you upgrade to OSWeb 1.4.2? If so, could you upload your experiment here?
-
Hi @pesmonde , I just sent you an email about this! — Sebastiaan
-
Hi @Skilli , I suspect that this is actually an older version of OpenSesame, rather than a newer one, because this option hasn't been removed. What version are you using? — Sebastiaan
-
Hi @tong , In OSWeb 1.4, you can simply use the form_text_input item (using subject_id_response for the response variable). To then validate whether the participant has actually entered something, you can use a repeat_cycle item, and put both in …
-
Closed as duplicate of this discussion.
-
Yes, the log-in broke after some changes to the OSF API. We're tracking the issue here, but for now I'm not sure how to best approach it.
-
Hi @MikeN , That's a very odd error indeed. Could you post the entire error message? (The screenshot only shows part of it.) You (or your student) can find the full traceback in the console. — Sebastiaan
-
Hi @Leo , This will still work, but only on the desktop and not when running in a browser. The reason is that OpenSesame on the desktop uses a more advanced way to render text, which supports RGBA color specifications. OSWeb uses a simpler way to re…
-
Hi @patt24 , The subject number cannot contain anything but digits. But you could choose a multidigit number that reflects these different levels. Or you could use the same subject number for everyone, ask for an identifier at the very start of the …
-
Hi @jonas , I think it's a permissions issue: you need to run OpenSesame as administrator so that the package can be installed. — Sebastiaan
-
@Rrob Thanks for picking up the mismatch in the links! I fixed it.
-
@Paula Ah, I see. That's because the plugin is in dummy mode, in which case the srbox object is not created. There is currently no way to test the srbox in dummy mode in a script, I'm afraid! In other words: you'll have to get a physical SR Box to…
-
Hi @Fab , Thanks for spotting the issue with quotes in the welcome text! Until this is fixed, a workaround is to use a quote-like character that is not actually a single or double quote. A back tick (`), for example, or an Armenian apostrophe (՚). —…
-
Hi @Paula , Even if you're going to use the srbox programmatically, you still have to add the plugin to the experiment. If necessary, you can simply put it at the top of the experiment and then set the timeout to 0 so that it effectively does nothi…
-
Hi @Fab , You don't need to do this through the Preferences, but you can simply edit the welcome text through the regular interface. And then it will properly take into account line breaks! The context-info option determines whether things like the …
-
Hi @Paula , These two lines: import srbox srbox.__init__(experiment, dev = COM1) Are not necessary, because the srbox is initialized by the srbox plugin. This means that, as soon as you have this plugin in your experiment, an srbox object will exis…
-
@joshmanu and @Rrob Thanks! Ping @robbertmijn This looks like it may be specific to the Mac OS ARM package. Can you reproduce it as well?
-
Hi @joshmanu , Thanks for reporting this, including a script to test. 👍️ I don't see this myself, actually. What operating system are you using, and does the operating have display scaling enabled? — Sebastiaan
-
Hi @Jessica Bourgin , It seems that the delay comes from something that involves the webbrowser component. This is used by various extensions, including the analytics extension, the get_started extension, and the after_experiment extension (but t…
-
Hi @Jessica Bourgin , The reason that my_coroutine() blocks is that there's no yield statement inside the while loop, which is necessary for the function to suspend. https://osdoc.cogsci.nl/3.3/manual/structure/coroutines/#using-a-custom-generato…