This article applies to:
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.
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:
1. Open an Edge Browser
2. Navigate to Settings (click on the "..." in the upper right-hand corner)
3. Search for "Startup"
4. Click on "Startup boost" to toggle the setting from on to off