stimulus right or left
Michiel Spape
Michiel.Spape at nottingham.ac.uk
Wed Jan 27 14:53:37 UTC 2010
To give a further clue:
Well, given that you can measure the size of the screen with a certain optometrical device (yes, I do mean the one you had in grammar school), or, for you people with imperial measures, by placing your feet on the screen, and given the default resolution of 640 x 480, you can easily tell E-Prime to move a certain stimulus 4 cm to the left. My screen measures about one and a half foot, for example (it doesn't seem to work now anymore...), I think that's about 45 cm. 1 cm is therefore 640 / 45 = 14.22 pixels. 4 cm left of the centre is, therefore, 320 - 56.89 = 263. Yay!
Cheers,
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 liwenna
Sent: 27 January 2010 10:56
To: E-Prime
Subject: Re: stimulus right or left
Hey Eli,
Unfortunately there's no way to ensure a 4cm distance on any screen. X
and Y coordinates can be given in percentages of the screen (as in
your script) or in pixels (i.e. if you would take out the % sign, your
x value would become 32th pixel or 68th pixel).
When e-prime runs a script it will 'take control' over the
displaysettings and adjust it to the values set in the script. By
default this is 640 x 480. You can adjust these settings by clickinng
the e-prime logo at the top of your experiment tree and then go to the
devices tab and edit 'display'. I suggest you and everyone else to do
this right away when you start a new experiment. The exact distances
between two pictures or between a picture and the midline of the
screen is decided by size and resolution of the screen. By fiddling
around with the x values you can set e-prime to show the picture on
4cm from the midline on your screen and this will be 4cm on any screen
with the same size, but if the screen you run e-prime on is different
in size, the distance in cm will vary accordingly.
The above is no 'solutions' just a description of what e-prime
'does'.
Best,
liw
On Jan 27, 8:05 am, Eli Koren <ekor... at gmail.com> wrote:
> Hi there!
> I use a script :
> if (c.GetAttrib("VF") = "LVF") then
> Stimulus1.X = "32%"
> else
> stimulus1.X = "68%"
> end if
>
> How can i insure that the stimulus be 4 Cm left or right from the center on
> any
> screen ?
>
> Thanks
> Eli koren
--
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.
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 at http://groups.google.com/group/e-prime?hl=en.
More information about the Eprime
mailing list