up Inquisit Language Reference

photocapture attribute

The photocapture attribute takes a snapshot using the built-in camera.

Member of

<block> <expt> <likert> <openended> <slidertrial> <survey> <surveypage> <trial>


/ photocapture = boolean


boolean A boolean value of true or false.


It is sometimes useful to have a photo of a respondent to verify identity or to confirm demographic information. When the photocapture attribute is set to true, a photo is taken at the beginning of the expt, block, or trial. Photos are saved as jpg files in a subfolder called "photocaptures" (located under the folder containing the script).


The following trial takes a picture at the beginning:

<trial q1>
/ stimulustimes = [1=target1, target2, target3]
/ photocapture = true
/ validresposne = (noresponse, lbuttondown)
/ timeout = 1000
/ inputdevice = mousekey

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.