PennController 1.9
PennController 1.9 is now available!
Newly created experiments on the PCIbex Farm come with it, and you can sync your existing projects with the master branch to update your version of PennController.
Major changes from 1.8
Added
- New action commands
standard.scaling
: Zooms an element in or out as needed to fit the passed argument(s).canvas.color
: Changes the background color of theCanvas
element it is called on.scale.checkbox
: Adds checkbox options to the Scale element it is called on.timer.pause
: To be filled intimer.resume
: To be filled intimer.set
: To be filled in
- New test commands
eyetracker.test.score
: Succeeds when the EyeTracker element it is called on calibrates with a score at least as high as the EyeTracker element passed as an argument.mousetracker.test.over
: Succeeds when a user’s mouse hovers over the element passed as an argument.
- New keyword
self
: Used inside callback and test commands
Changed
- Elements
- Most elements are now displayed as flex by default, instead of as (inline-)block.
Selector
element: Reports the order of its element in the “Comments” column of its lines in the results file.MouseTracker
element: Detects clicks.
- Element commands
audio.stop
: Releases the commandaudio.wait
.standard.left
,standard.center
, andstandard.right
: Aligns the whole element, instead of just the text.standard.print
: Accepts an element as an argument.
- Global commands
SendResults
: Can be used multiple times during an experiment to send results in multiple steps.InitiateRecorder
andUploadRecordings
: Can be used inside trials, similar toSendResults
.
Fixed
EyeTracker
element: No longer requires the special upload ofPennElement_eyetracker.js
.fullscreen
: No longer makes Safari crash.