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

boolean A boolean value of true or false.

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>

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