Stopping Entered Text disappearing off screen

Michiel Spape Michiel.Spape at nottingham.ac.uk
Mon Jul 19 17:19:58 UTC 2010


Hiya,
If you like, you are welcome to email the e-prime 1 file to me; I'll have a look at it tomorrow.
Best,
Mich

________________________________

Van: e-prime at googlegroups.com namens Evertox
Verzonden: ma 19-7-2010 17:47
Aan: E-Prime
Onderwerp: Re: Stopping Entered Text disappearing off screen



Hi Michiel,

I appreciate your knowledge and assistance and I understand this is a
small subject group for user support.

I am having a problem uploading files to this Group for user viewing.
I used to be able to do this a while back.

I have sent the example file to PST support for troubleshooting and
just wanted to ask if anyone was aware of this issue.

CR and LF is the old Carriage Return and Line Feed (Return). It is
mentioned in the help files.

I have used both EP1(Service Pack 3) and EP2 to test this problem. I
will upload a EP1 sample version to the PST forum for others to view.

Cheers

Anthony McGuffie



On Jul 19, 5:13 pm, Michiel Spape <Michiel.Sp... at nottingham.ac.uk>
wrote:
> Hi Anthony,
> First off, to cite David McFarlane, " I do not work for PST.", a bit of effort spent on clarity would be much appreciated. What is CR / LF? I looked at the file, but it's an e-prime 2 file, so I can't do much about it (I only have e-prime 1 here). I tried using an Echo object on a simple display object in E-Prime 1 and it seems to do the word-wrap correctly.
>
> If you like, you could also run a text-display in a little loop to do exactly the same as the echo function; i.e., just enter a Label (let's say, Label1) just before the text display, set the text display's max count to 1 again, duration to 10 ms (or something) and check the response. Say, the textdisplay is called TextDisplay1, then use something like:
>
> If TextDisplay1.RESP <> {ENTER} then
>         TextDisplay1.TEXT = TextDisplay1.TEXT & TextDisplay1.RESP
>         Goto Label1
> End if
>
> If word-wrap works for a normal textdisplay, then it ought to work for this as well. If it doesn't... perhaps a bug in your version of e-prime?
>
> Sorry if I can't be of much more help - lacking E-Prime2, I expect somebody else might be of more use.
> Best,
> Mich
>
> Michiel Spapé
> Research Fellow
> Perception & Action group
> University of Nottingham
> School of Psychology
>
> -----Original Message-----
> From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Evertox
> Sent: 19 July 2010 16:45
> To: E-Prime
> Subject: Re: Stopping Entered Text disappearing off screen
>
> Hi Michiel,
>
> First off, i cannot upload an example file to the files section so it
> is on the pstnet forum -http://support.pstnet.com/forum/Topic671-5-1.aspx
>
> I am using the TextDisplay Echo option recording participants thoughts
> for 5 minuites and showing them what thae have typed just like a word
> document.
>
> Everything works except for a CR and LF at the end of the screen so
> they cannot see what they have typed.
>
> As Quoted by Matt Lenhrart at PST in this thread------"make sure the
> "Word Wrap" box is checked so that long responses will not go off-
> screen (i.e. they will simply move down to the next line)."
>
> Cheers
>
> Anthony McGuffie
>
> On Jul 19, 3:58 pm, Michiel Spape <Michiel.Sp... at nottingham.ac.uk>
> wrote:
> > Hi,
> > Could you explain a bit more as to what exactly your problem is? Is text left and right disappearing from the screen (say, from every line of text), or do you just try to fit more text on a screen than can be displayed (such that the last bits of text at the very end are cut off)? Or, finally, is the problem that no new-lines are entered into the textdisplay echo (if you're using that)?
> >         The first possible issue, which could conceivably be your problem, usually happens because the monitor isn't correctly configured to display 640x480 resolutions (a rather ancient - say, windows 3.1 - default resolution). To do something about that, just run your experiment and fiddle with the monitor until the width and height are actually within the scope of the screen.
> >         Obviously, the second of these issues cannot magically be resolved; I mean, given that you're using a full-screen text display, it can only contain so much text before there's no more screen left. Changing font-size or resolution will, as said, fix that problem, as would some implementation of 'press N for next page'; but apart from that, a box can only contain so many objects before the contents will spill over, so to say.
> >         The third issue, word-wrap itself being the problem, might be resolved by manually (as in, with some code) adding new-lines to the text. I suppose that can't be too hard. Dump this in an empty experiment as an inline and run to see what I mean
> > -----------
>
> > dim inputstring as string
> > dim outputstring as string
> > dim previousnum as integer
> > dim i as integer
> > inputstring = "This is an example string"
>
> > previousnum = 1
> > for i = 6 to len(inputstring) step 5
> >         outputstring = outputstring & mid(inputstring, previousnum, 5) & "\n"
> >         previousnum = i
> > next i
>
> > debug.print outputstring
> > ------------
> > Output:
> > This
> > is an
> >  exam
> > ple s
>
> > ----------
> > How's that? This piece of code converts the inputstring to a rather crudely cut outputstring, by adding new lines after every 5th letter. Of course, you'd need to find out how many letters fit on the screen, then adjusting 'step 5' to 'step howmanyletters' and 'for i = 6' to 'for I = howmanyletters + 1'
> > Best,
> > Mich
>
> > Michiel Spapé
> > Research Fellow
> > Perception & Action group
> > University of Nottingham
> > School of Psychology
>
> > -----Original Message-----
> > From: e-prime at googlegroups.com [mailto:e-prime at googlegroups.com] On Behalf Of Evertox
> > Sent: 19 July 2010 15:34
> > To: E-Prime
> > Subject: Stopping Entered Text disappearing off screen
>
> > Hello,
> > I asked a question last week regarding a TextDisplay WordWrap problem.
> > Does anybody have a script to ensure a participants text entered is
> > ALL shown on the screen.
> > I do not want to change the screen resolution or font size to achieve
> > this.
> > I am trying a few methods based on the InputMask and EchoClient
> > objects but have not succeeded so far.
> > I need something fairly quickly and would appreciate assistance.
> > Anthony McGuffie
> > Coventry University
>
> > --
> > 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 athttp://groups.google.com/group/e-prime?hl=en.
>
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
>
> --
> 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 athttp://groups.google.com/group/e-prime?hl=en.

--
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.



-- 
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20100719/78d41955/attachment.htm>


More information about the Eprime mailing list