up Inquisit Language Reference

screenCapture attribute

The screenCapture attribute takes a snapshot of the screen as it appears on the final stimulus frame of a trial and saves the image to a bitmap file.

Member of

<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial>

Syntax

/ screenCapture = boolean

Parameters

Name Type Description
boolean boolean

Remarks

It is someTimes useful to have a visual record of the display for a particular trial or set of trials. For example, when conducting research with eye trackers,you may wish to view gaze plots or heat maps over the associated images that were presented in order to see exactly what the participant was looking at. The screenCapture command, when set to true, causes Inquisit to save a copy of the screen as it appeared during the last stimulus presentation frame on the given trial. Screen captures are saved as bitmaps in a subfolder called "screenCcaptures" (located under the folder containing the script).

Examples

The following trial captures the screen with three stimuli (target1, target2, target3) to a bitmap:

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

Copyright Millisecond Software, LLC. All rights reserved.