Stopping Entered Text disappearing off screen

Melaina Vinski mtvinski at gmail.com
Fri Jan 4 20:27:28 UTC 2013


Thank you David, you're help is greatly appreciated!


On Fri, Jan 4, 2013 at 1:16 PM, David McFarlane <mcfarla9 at msu.edu> wrote:

> Anthony probably means that E-Prime Echo will break strings for wrapping
> only at white space.  So if a string has no white space, it will not wrap
> but just get cut off.  E.g., suppose the Echo window is 10 characters wide
> by 3 high, and the subject may enter up to 30 characters.  If the subject
> types
>
>     0123456789ABCD
>
> Then the Echo will show
>
>     0123456789
>
> But if the subject types
>
>     0123456789 ABCD
>
> Then the Echo will show
>
>     0123456789
>     ABCD
>
> Hope that helps.
>
> -----
> David McFarlane
> E-Prime training online:  http://psychology.msu.edu/**
> Workshops_Courses/eprime.aspx<http://psychology.msu.edu/Workshops_Courses/eprime.aspx>
> Twitter:  @EPrimeMaster (https://twitter.com/**EPrimeMaster<https://twitter.com/EPrimeMaster>
> )
>
> /----
> Stock reminder:  1) I do not work for PST.  2) PST's trained staff take
> any and all questions at http://support.pstnet.com/e%**
> 2Dprime/support/login.asp<http://support.pstnet.com/e%2Dprime/support/login.asp>, and they strive to respond to all requests in 24-48 hours -- this is
> pretty much their substitute for proper documentation, so make full use of
> it.  3) In addition, PST takes questions at their Facebook page (
> http://www.facebook.com/**pages/Psychology-Software-**
> Tools-Inc/241802160683<http://www.facebook.com/pages/Psychology-Software-Tools-Inc/241802160683>), and offers several instructional videos there and on their YouTube
> channel (http://www.youtube.com/user/**PSTNET<http://www.youtube.com/user/PSTNET>) (no Twitter feed yet, though).  4) If you do get an answer from PST
> staff, please extend the courtesy of posting their reply back here for the
> sake of others.
> \----
>
>
>
> At 1/3/2013 08:49 PM Thursday, mvinski wrote:
>
>> Hi Anthony,
>>
>> What do you mean by requiring a SPACE inserted on each line?
>>
>> M
>>
>> On Wednesday, July 21, 2010 8:33:25 AM UTC-4, Evertox wrote:
>> Just to let everyone know. With the help of Michiel, i have resolved
>> the problem.
>> Unlike Microsoft Word and NotePad, the wordwrap option in E-Prime
>> requires a SPACE inserted on each line.
>> Cheers
>> Anthony McGuffie
>>
>> On Jul 19, 6:19 pm, Michiel Spape <Michiel.Sp... at nottingham.ac.**uk<Michiel.Sp... at nottingham.ac.uk>
>> >
>> wrote:
>> > 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-p... 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<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-p... at googlegroups.com [mailto:e-p... at googlegroups.**com<e-p... 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<http://support.pstnet.com/forum/Topic671-5-1.aspx>
>> >http:/**/support.pstnet.com/forum/**Topic671-5-1.aspx<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<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-p... at googlegroups.com [mailto:e-p... at googlegroups.**com<e-p... 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@**
> googlegroups.com <e-prime%2Bunsubscribe at googlegroups.com>.
> For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>


-- 
Melaina T. Vinski
MSc Candidate
Psychology, Neuroscience & Behavior
Cognitive Sciences Lab
McMaster University
905-525-9140 ext. 22853

-- 
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 https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130104/4487fab2/attachment.htm>


More information about the Eprime mailing list