Scrolling in Eprime?
Matt Lenhart
mplenhart at gmail.com
Tue Aug 26 16:29:20 UTC 2008
Hello,
It is possible to implement "scrolling" text in E-Prime. However, this
must be done manually using InLine script. I have attached a very
basic example of how this could be done in the Files section of this
group (i.e., ScrollingText.es). Essentially, a SlideText sub-object is
created and its proportions are configured to be larger than the
screen (thus creating the need to scroll the text). Another SlideText
sub-object is used to present instructions to the subject.
The Slide object's Duration is set to 0, while its Time Limit is set
to "infinite" and its End Action is set to "none". The only allowable
responses are the down arrow, up arrow, and Enter keys. The Enter key
is used as the termination response. The Max Count (i.e., maximum
allowed responses) is set extremely high so that the subject can
scroll freely.
This configuration results in the Stimulus appearing on screen while
the InLine script is running in the background. This script does
nothing except monitor incoming responses and moving the SlideText sub-
object presenting the target text. This results in a "scrolling"
effect as the subject presses the down and up arrow keys. All that is
occurring is that the script gains access to the SlideText sub-object
and then moves the Y position of the SlideText up or down as
necessary. A "ceiling" and "floor" for the Y position is implemented
so that the text is never off-screen.
The attributes in the TrialList are used to implement the "celing" and
"floor" as well as to define the size and starting position of the
text. This allows text of varying length to be presented.
Please let me know if you have any questions about this sample.
- Matt
PST Technical Consultant
http://pstnet.com
On Aug 24, 3:05 pm, Pooja <pooja.k.agar... at gmail.com> wrote:
> I'd like to create an Eprime program, similar to those used in SAT and
> GRE practice tests, where I can show a long passage on the left (which
> requires the user to scroll down in order to view the entire passage)
> along with multiple choice questions on the right. I'd like the user
> to have access to the entire passage (e.g., if they scroll down, they
> can still scroll back up, and vice versa).
>
> It doesn't appear that a long text/image/slide automatically creates a
> scroll. Is there a way to program this manually?
>
> Thanks!
>
> (Cross posted on the PTS forum website)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
More information about the Eprime
mailing list