This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This sample shows how you can suspend the runtime system and launch an external program such as Edge where additional stimuli can be presented during non-time-critical portions of an experiment.
Abstract
This sample experiment shows how an experiment can suspend devices during runtime of an E-Prime experiment in order to launch an external application (i.e., Edge for the E-Prime 3 and E-Prime 2 sample).
Once the devices are suspended, any external application can be called and used. The most common methods to call and access external programs would be via OLE/COM automation or via DLL calls through the use of Declare statements. The use of these methods are typically set aside for more advanced programmers.
This specific experiment suspends the devices, calls Edge (with a specified URL to visit), resumes devices, and then continues the experiment.
NOTE: You cannot collect data and use many of the real-time objects in E-Prime while the devices are suspended.
To change the application you wish to run, see the comments in the 'RunApplication' InLine object. If you are planning to copy the script from this sample experiment into another experiment you are designing, you will also need to copy the User Script and paste it into the User Script of your experiment.
Disable Startup boost for Edge
E-Prime will not suspend when Startup boost is enabled on the Edge browser.
To turn off Startup boost:
- Open an Edge Browser
- Navigate to Settings (click on the "..." in the upper right-hand corner)
- Search for "Startup"
- Click on "Startup boost" to toggle the setting from on to off
NOTE: Use of Suspend/Resume with E-Prime Extensions is not supported.
See Also:
Comments
0 comments
Please sign in to leave a comment.