On one slide, show different images, loaded from a list

Susan susangc7 at gmail.com
Thu Mar 11 15:05:17 UTC 2010


I don't know if I'm interrupting the programming/scripting lesson or
adding to it, but I seem to recall solving a similar problem back in
the dark ages (beta 0.8, so here's hoping backwards compatibility is
still solid; I can't check at home on my Mac).

My solution is available here with a basic description of what the
script is doing:
http://step.psy.cmu.edu/scripts/Attention/EriksenStJames1986.html

As an aside, I never really figured out how to make that site more
useful for people looking for techniques rather than paradigms; a lot
of techniques that work for one type of experiment crop up elsewhere.
I like to think there are some useful scripts on the site anyway, both
in the stuff I implemented as teaching tools during the beta and in
the stuff that various people have submitted since. Finding the right
ones may take a little time, though.

HTH,
Susan

On Mar 11, 9:42 am, dkmcf <mcfar... at msu.edu> wrote:
> Vera,
>
> Oh, and one more bit of generic programming advice that I repeat here
> from time to time -- If your actual experiment program has any
> complexity to it, then set that aside and exercise all your ideas on
> smaller demo programs that you make just for that purpose, then when
> you get your techniques worked out just apply those back to your
> actual experiment program.  Everybody (including me) thinks that they
> can save time by working out fixes directly in their actual experiment
> programs, and everybody (including me) is wrong about that.  You save
> time by working out the techniques in smaller "exercise" programs,
> then applying what you learn back to your actual experiment program.
>
> <editorial>
> This becomes especially true when you have to work out the finer
> points of E-Prime as "documented" in the online E-Basic Help.  As
> crucial as the online E-Basic Help is to gaining any real
> understanding of E-Prime, in many many places it is at best
> misleading, and at worst just plain wrong (not to mention that much of
> the example code does not even compile), and PST takes no interest in
> fixing that (I have personally posted several corrections to PST and
> continue to do so, to almost no avail).  So if, like me, you ever have
> to understand how E-Prime really works, then you will have to make
> many, many small demo programs in order to overcome the rampant
> misinformation throughout the documentation.
>
> And BTW, this is where PST Web Support comes in.  Many of us have the
> old-fashioned notion that Support is a last resort.  But as a result
> of discussions with PST staff I now understand that PST Web Support is
> their substitute for adequate documentation.  So once again, I urge
> everyone to get over your inhibitions and to consult PST Web Support
> every bit as much as you would otherwise consult the documentation.
> </editorial>
>
> -- David McFarlane, Professional Faultfinder
>
> On Mar 11, 9:12 am, dkmcf <mcfar... at msu.edu> wrote:
>
>
>
> > Vera,
>
> > Wow, what a discussion this sparked!  I think E-Prime can do what you
> > want in a quite straightforward way using nested Lists without any
> > inline code.  As hinted at the thread that you cited (http://
> > groups.google.com/group/e-prime/browse_thread/thread/
> > 58e3ae402de68442 ), the key is "colon syntax".  So if you do not
> > already have this working, here is another homework assignment for
> > you:  Go to the index in the User's Guide that came with E-Prime and
> > look up "colon syntax", then follow that to the appropriate tutorials
> > and work through all of those.  That might give you enough ideas to
> > figure it out.  But if you remain stuck after that, then refresh this
> > thread some time next week and I will post more details on this
> > approach (I need you to struggle a bit first so that the later lesson
> > will "take").
>
> > And don't forget PST Web Support, they like to take these sorts of
> > questions athttp://support.pstnet.com/e%2Dprime/support/login.aspand
> > they strive to respond to all requests in 24-48 hours (although
> > reported response time is currently more like 5 days).  If you do
> > contact Web Support then please report back here with the results.
>
> > -- David McFarlane, Professional Faultfinder
>
> > On Mar 10, 11:45 am, Vera <vera.d... at googlemail.com> wrote:
>
> > > I sure hope I will get some help here! I am trying to construct a
> > > visual search task in which participants have to find let's say a
> > > "yellow triangle" within "blue triangles" and "yellow triangles".
>
> > > For this, I created a list with different conditions (like number of
> > > items on the grid, target present or not) and I was actually counting
> > > on using a slide with (let's say) 9 images, on which I would each of
> > > the 9 images randomly from a nested list.
>
> > > So I made my nested list with images (.png's) and I of course made
> > > sure to have the image-objects on the slide point first to the
> > > procedure list and then to the nested list (I think I read about all
> > > the messages concerning this topic, including this onehttp://groups.google.com/group/e-prime/browse_thread/thread/84c742b85...
> > > (thanks a lot for the work-around, it was a good thing for me to see
> > > if I did it right, which I did, but it still will not load the right
> > > pictures).
>
> > > So the problem is: It seems that the "point to the nested list
> > > function" is working, but then it seems impossible to load 9 DIFFERENT
> > > images (it will show me 9 times the same image, at least therewith
> > > confirming that it points to the correct nested list).
>
> > > And I tried every option I could think of (like putting the 9 images
> > > in one line of the nested list, but then I get other errors). :-( I am
> > > now believing that I should maybe really write to the developers,
> > > simply because this "functionality" seems to be absent.
>
> > > Now I will probably have to code it (which is were the real problem
> > > starts, because I am an absolute no-programmer ;-) ) and the institute
> > > where I am currently working actually bought E-Prime because it should
> > > be more or less "programming-free" (well ok, I understand you cannot
> > > rule it out completely, but the thing I described above should be
> > > possible in my opinion).
>
> > > I really hope some of you guys have some creative solution for me!
>
> > > With kind regards,
>
> > > Vera

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