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>

Syntax

/ photocapture = boolean

Parameters

Name Type Description
boolean boolean

Remarks

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).

Examples

The following trial takes a picture at the beginning:

<trial q1>
/ stimulusTimes = [1=target1, target2, target3]
/ photoCapture = true
/ validResponse = (noResponse, lButtonDown)
/ timeout = 1000
/ inputDevice = mousekey
</trial>

Copyright Millisecond Software, LLC. All rights reserved.