Help with changing hearts and flowers code for Inquizit 7 (Lab)


Author
Message
sbashyam
sbashyam
Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)
Group: Forum Members
Posts: 27, Visits: 50
Dave - 1/12/2026
sbashyam - 1/12/2026
Dave - 11/21/2025
sbashyam - 11/21/2025
Hi Dave,Thank you for your response and let me try to be more specific. We are having children respond to the task verbally so want to show them what side of the screen associates with the correct answer, while the research assistants are going to be responding on the keyboard. Since it’s easier for RAs to press keys, I was hoping there was a way to program that. Thank you for your suggestion on editing the keyboard version. Is it possible to edit it from the mouse/touch version?

You can find a hybrid of the keyboard and touch versions attached below. Instructions are those from the touchscreen version. You'll have to adjust wording as needed. Navigating instructions is via the spacebar and the A & L keys. Practice and test trials look like those in the touchscreen version, but take keyboard input (A & L) keys.

For general background and so you can make further modifications yourself, please work through the Programmer's Manual ( https://www.millisecond.com/support/Inquisit%20Programmer's%20Manual.pdf ). Then work through the H & F task code untll you sufficiently understand how it works.

Hi Dave, Thank you! I am not able to view the mouse pointer on the screen at all now. Is it possible to just ve able to view the pointer (not use it)?

Yes, you can. Set showMouseCursor to true as needed.

https://www.millisecond.com/support/docs/current/html/language/attributes/showmousecursor.htm
Hi Dave! 
Thank you :). For all the test trials (not practice) in the hearts only, flower only, and heart and flower both conditions, will it be possible to not flash the blue buttons yellow when a key is pressed? 


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
sbashyam - 1/12/2026
Dave - 1/12/2026
sbashyam - 1/12/2026
Dave - 11/21/2025
sbashyam - 11/21/2025
Hi Dave,Thank you for your response and let me try to be more specific. We are having children respond to the task verbally so want to show them what side of the screen associates with the correct answer, while the research assistants are going to be responding on the keyboard. Since it’s easier for RAs to press keys, I was hoping there was a way to program that. Thank you for your suggestion on editing the keyboard version. Is it possible to edit it from the mouse/touch version?

You can find a hybrid of the keyboard and touch versions attached below. Instructions are those from the touchscreen version. You'll have to adjust wording as needed. Navigating instructions is via the spacebar and the A & L keys. Practice and test trials look like those in the touchscreen version, but take keyboard input (A & L) keys.

For general background and so you can make further modifications yourself, please work through the Programmer's Manual ( https://www.millisecond.com/support/Inquisit%20Programmer's%20Manual.pdf ). Then work through the H & F task code untll you sufficiently understand how it works.

Hi Dave, Thank you! I am not able to view the mouse pointer on the screen at all now. Is it possible to just ve able to view the pointer (not use it)?

Yes, you can. Set showMouseCursor to true as needed.

https://www.millisecond.com/support/docs/current/html/language/attributes/showmousecursor.htm
Hi Dave! 
Thank you :). For all the test trials (not practice) in the hearts only, flower only, and heart and flower both conditions, will it be possible to not flash the blue buttons yellow when a key is pressed? 


The "flashing" is implemented via the /responseMessage attributes in those trial elements. If you don't want flashing, remove those.

In general I would recommend you take some time to properly familairize yourself with the code. Work through the Programmer's Manual before you do so as background.

sbashyam
sbashyam
Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)Respected Member (368 reputation)
Group: Forum Members
Posts: 27, Visits: 50
Hi Dave,
I wanted to ensure that I am understanding this part of the code correctly:
/maxPracticeRepeats:            number of times a practice blocks can be repeated before the script is aborted (default: 3)
/numberPracticeTrials:            the number of practice trials per practice block (default: 8)
Does this mean that the practice trial block can repeat 3 times for a total of 24 trials?
Thank you in advance for your clarification


Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
sbashyam - 3/3/2026
Hi Dave,
I wanted to ensure that I am understanding this part of the code correctly:
/maxPracticeRepeats:            number of times a practice blocks can be repeated before the script is aborted (default: 3)
/numberPracticeTrials:            the number of practice trials per practice block (default: 8)
Does this mean that the practice trial block can repeat 3 times for a total of 24 trials?
Thank you in advance for your clarification


Yes, that is what it means. But there is not "the" practice trial block There are three different practice blocks for the three different task phases-- one for the congruent part, one for the incongruent part, one for the mixed part. These settings apply to all those practice phases separately.

The congruent practice block runs 8 trials by default. That block is run up to 3 times, depending on performance (pass or fail). If you failt it, the task ends.
The incongruent practice block runs 8 trials by default. Run up to 3 times. Fail the criterion, and the task ends.
The mixed practice block runs 8 trials by default. It, too, will be administered at most 3 times. And if you fail here, the task also ends.

You can easily test this for yourself. Just fail the respective practice parts repeatedly and see what happens.
Edited Last Month by Dave
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search