I need my participants to meet a screen resolution requirement.
I've tried to do what was advised by Blackadder in this thread. I have a resolution check block first , and then my test blocks after that. Those who don't have the minimum screen resolution are then taking to a "Your screen resolution is too low" block, but I don't know how to program it so that the experiment ends after that. When you click 'Exit" on the button it simply takes you to the next block of trials rather than terminating the experiment.
My script for screen resolution related commands is below. I have a feeling I need to use the /skip command in the following test block elements, like /skip = [values.resolutionfail = 1]. That works, but as my finish page will say something like "thank you for completing the experiment; you will be given compensatory course credit within the next 48 hours", is there any way to direct them to an alternate finish page? Or a way to terminate the experiment automatically without getting them to hit Ctrl+Q? I could always hide the next button on the low resolution message page so they can't respond, and instruct them to hit Ctrl+Q (right?) but this isn't ideal.
/ finishlabel = "Exit"
/ nextbuttonposition = (100%,100%)
/ showquestionnumbers = false
/ showpagenumbers = false
/ caption = "Sorry, your screen resolution is too low to do this experiment. You must have a screen resolution of at least 1024px wide and 768px high. Unfortunately, you cannot participate for course credit. Please contact Renee Yu at firstname.lastname@example.org about this issue so that you will not be penalised."
/ fontstyle = ("Arial", 2%)
/ ontrialend = [values.resolutionfail = 1]
/ trials = [1=lowresmessage]\
/ branch = [if (display.width < 1024 || display.height < 768) block.lowres]
/ blocks = [1=rescheck; 2=testblock1; 3=testblock2]