This sample shows how you can suspend the run-time system and launch an external program such as Internet Explorer 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 the running of an E-Prime 3.0 experiment in order to launch an external application (e.g. Internet Explorer).
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 Internet Explorer (with a specified URL to visit), resumes devices, and then continues the experiment.
Note that 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. If you open the sample in E-Studio, navigate to the Menu bar > View > Script in order to open the 'Script' window.
For more information about the User Script, please see INFO: Declaring a global variable in User Script (Video How-To)