在线求助!!!!!急....
请问这个程序是什么语言,还有用来做什么的??
它的后缀为.scp
/*****************************************************/
/* Windows 95/98/NT/2000/XP sample script experiment */
/* For use with Version 2.0 of EyeLink Windows API */
/* */
/* (c) 2002 by SR Research Ltd. */
/* For non-commercial use by Eyelink licencees only */
/* */
/* THIS FILE: scr_picture.scp */
/* DESCRIPTION: */
/* - The current template is based on the Picture */
/* template provided in the Windows Programmer */
/* Guide. */
/* - shows three pages of pictures with the */
/* STRETCHIMAGE command. */
/* - variable substitution is not involved; For each */
/* trial, the actual parameters were specified */
/*****************************************************/
// Log script commands, remove the '; ' to do debugging
;LOGSCRIPT ON
// Send a message to the tracker
EYECOMMAND button_function 5 'accept_target_fixation '
// Sends the messages for EyeLink Data Viewer -- labels for the variables
TRIAL_VAR_LABELS type
// Specify the directory of image loading/saving
IMAGEFILE_PATH "Images "
// Set the calibration and drawing colors
BACKGROUND RGB(255, 255, 255)
FOREGROUND RGB(0, 0, 0)
// do the tracker setup
CALIBRATE
// Marks the point of re-running the trial just in case
// This line should always be written at the beginning of a trial
ON_TRIAL_REPEAT
// Shows feedback message on the tracker screen
TITLE 'Trial 1/4 Normal '
// Send the message for the ease of trial identification
TRIALID Normal
// Performing drift correction at the beginning of a trial
DRIFTCORR 50% 50%
// Stretch the image to fill the whole screen. The image is centered
STRETCHIMAGE "sacrmeto.jpg " 50% 50% 100% 100% CENTER
// Maximum trial duration 20 seconds
TIMEOUT 20000
//Any button press will terminate the trial
ENDBUTTONS ANY
// start executing the trial
RUNTRIAL
ON_TRIAL_REPEAT
TITLE 'Trial 2/4 Blurred '
TRIALID Blurred
DRIFTCORR 50% 50%
STRETCHIMAGE "sac_blur.jpg " 50% 50% 100% 100% CENTER
TIMEOUT 20000
ENDBUTTONS ANY
RUNTRIAL
ON_TRIAL_REPEAT
TITLE 'Trial 3/4 Blurred '
TRIALID Blurred
DRIFTCORR 50% 50%
STRETCHIMAGE "pic.jpg " 50% 50% 100% 100% CENTER
TIMEOUT 20000
ENDBUTTONS ANY
RUNTRIAL
ON_TRIAL_REPEAT
TITLE 'Trial 4/4 Composite '
TRIALID Composite
DRIFTCORR 50% 50%
// Load four small images to fill the four quadrant of the display
STRETCHIMAGE "party.jpg " 25% 25% 50% 50% CENTER
STRETCHIMAGE "purses.jpg " 25% 75% 50% 50% CENTER
STRETCHIMAGE "squares.jpg " 75% 25% 50% 50% CENTER
STRETCHIMAGE "hearts.jpg " 75% 75% 50% 50% CENTER
TRIALTIME 20000
ENDBUTTONS ANY
RUNTRIAL
// optional marking at the end of the script file
END
[解决办法]
SCP嘛(我也不知道),随便自己定义个语法就是语言,GOOGLE的KML也是这样的....
[解决办法]
这是个脚本程序亚。。。 需要引擎解释的....