Thank you. I do not have access to the e-prime basic help, due to running a Windows-Vista, 64-bit system.  .hlp files are no longer recognized by Vista-32. I tried installing a tool that allows .hlp files to be read, but it somehow failing. Is there a workaround to this, so I can view the e-prime basic files?<div><br></div><div>Thanks,</div><div>Corona<br><br>On Sunday, September 16, 2012 11:39:37 AM UTC-4, Peter Quain wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<div>
<br>
I cannot think of why might else you would crave this knowledge. The
documention, topic Canvas, will help understanding this code, you will
need to if it is Canvas that you wish to use<br><br>
At 01:31 AM 17/09/2012, you wrote:<br>
<blockquote type="cite">Thank you Alphonse, for the
quick reply. More for the purpose of understanding the code, than
anything else, why do you repeat  cnvs.Copy offScreenCnvs, myRect,
myrect (with myrect twice)? More specifically, how is this understood by
e-prime? Also, I am guessing I do not have to include a
slideobject?<br><br>
<br><br>
On Sunday, September 16, 2012 10:59:26 AM UTC-4, alphonse wrote:<br>

<dl><br>

<dd>------------------------------<wbr>-----------------<br>

</dd><dd>'Prepare stimulus offscreen<br>

</dd><dd>offScreenCnvs.LoadImage stim<br><br>

</dd><dd>'Define the copy area<br>

</dd><dd>Dim myRect As Rect<br>

</dd><dd>myRect.Left = xMargin<br>

</dd><dd>myRect.Right = xMargin + 60<br>

</dd><dd>myRect.Top = yMargin<br>

</dd><dd>myRect.Bottom = yMargin + 60<br><br>

</dd><dd>'Copy prepared stimulus to screen<br>

</dd><dd>cnvs.Copy offScreenCnvs, myRect, myRect<br>

</dd><dd>
------------------------------<wbr>------------------------------<wbr>--------------<br>
<br>

</dd><dd>At 12:39 AM 17/09/2012, you wrote:<br>
<blockquote type="cite">
<dd>I am currently running a dot probe task with visual paired stimuli
(positive, negative). I have a two fold question pertaining to this
task:<br><br>

</dd><dd>1) I have about 60 images in one of my trialprocs, and was therefore
advised to use the canvas option to preload images. I have had little
success with using this object, particularly because I do not entirely
understand the concepts of off-screen and on-screen canvas. I have
managed to write a small script with help from the references guides
posted on the e-prime website (as well as forums), but am stuck when it
comes to the following statement:<br><br>

</dd><dd>1.      When preparing the trial:<br><br>

</dd><dd> <br><br>

</dd><dd>targetCanvas.LoadImage stim <br><br>

</dd><dd> <br><br>

</dd><dd>Image is loaded to the top left corner. We need to define 2 Rect
Objects: StimLoadRect and StimRect (see Rect object in the E-Basic Help),
both the size of the images to-be-loaded, but the StimRect at the
(Left,Right, Top,Bottom) coordinates where the stimulus will be
displayed. When we copy the image from the offline canvas to the online
canvas, we will copy from StimLoadRect to StimRect.<br>
<br>

</dd><dd> <br><br>

</dd><dd>2.      To run the stimulus:<br><br>

</dd><dd> <br><br>

</dd><dd>Display.WaitForVerticalBlank<br><br>

</dd><dd>c.setAttrib "StimOnset", clock.read<br><br>

</dd><dd>cnvs.copy targetCanvas, stimLoadRect, stimRect<br><br>

</dd><dd>sleep(stimDuration)<br><br>

</dd><dd>Display.WaitForVerticalBlank<br><br>

</dd><dd>Cnvs.clear ' or something else that erases the stimulus, can be done
in the following trial<br><br>

</dd><dd> <br><br>

</dd><dd><font face="arial" size="2">Bolded lines: How do I create a
stimLoadRect and stimRect image, a is asked for? (I did find a script for
creating a rect object, but am unsure of how to specify dimensions).<br>
</font><br>

</dd><dd><font face="arial" size="2">I assume that pre-defining images and their
locations, means I do not have to specify them as a SlideObject? (I am
guessing I am completely wrong here - please feel free to correct me) . I
would also assume that the stimDuration, must be defined as an attribute?
<br>
</font><br>

</dd><dd><font face="arial" size="2"> <br>
</font><br>

</dd><dd><font face="arial" size="2">Assuming I do not have to go through this
convoluted path, I have another question. If I could pre-load using the
SlideImage and ImageDisplay options, I am not sure how to specify the
co-ordinates of where I want my image to be in the properties section. I
know this appears elementary, but the actual size of the images are 424 X
283, but when running, part of the images are cut off. When I looked at
the properties of my slide object, I had set the width at 25% . I assumed
this was the co-ordinate location in relation to the actual screen size.
Guessing that this was an error on my part, I reset the width to 100%,
but that meant that when I looked at the slideobject (with the dotted
grid), one image seemed to complete cover the other image. How do I fit
both images, and make sure their dimensions remain the same?<br>
</font><br>
<font face="arial" size="2"><br>

</font></dd><dd><font face="arial" size="2">I apologize for this rant. I only recently switched to e-prime from
using Inquisit, and am still trying to get a hang of this software
tool.<br>
</font></dd><br>
<font face="arial" size="2"><br>

<dd>Thanks a ton for your reply,<br>
</dd></font><br>

<dd><font face="arial" size="2">Corona<br>
</font><br>

</dd><dd>-- <br>

</dd><dd>You received this message because you are subscribed to the Google
Groups "E-Prime" group.<br>

</dd><dd>To post to this group, send email to <a>e-p...@googlegroups.com</a>.<br>

</dd><dd>To unsubscribe from this group, send email to
<a>e-prime+u...@googlegroups.com</a>.<br>

</dd><dd>To view this discussion on the web visit
<a href="https://groups.google.com/d/msg/e-prime/-/5pzrm9S1QnQJ" target="_blank">
https://groups.google.com/d/<wbr>msg/e-prime/-/5pzrm9S1QnQJ</a>.<br>

</dd><dd>For more options, visit
<a href="https://groups.google.com/groups/opt_out" target="_blank">
https://groups.google.com/<wbr>groups/opt_out</a>.<br>

</dd><dd> <br>

</dd><dd> </dd></blockquote></dd></dl></blockquote><br>

-- <br>
You received this message because you are subscribed to the Google Groups
"E-Prime" group.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="PTgxSldU3pwJ">e-p...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="PTgxSldU3pwJ">e-prime+u...@<wbr>googlegroups.com</a>.<br>
To view this discussion on the web visit
<a href="https://groups.google.com/d/msg/e-prime/-/1AKNMHLxx88J" target="_blank">
https://groups.google.com/d/<wbr>msg/e-prime/-/1AKNMHLxx88J</a>.<br>
For more options, visit
<a href="https://groups.google.com/groups/opt_out" target="_blank">
https://groups.google.com/<wbr>groups/opt_out</a>.<br>
 <br>
 </div></blockquote>

</div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/fIy17qBfjrkJ">https://groups.google.com/d/msg/e-prime/-/fIy17qBfjrkJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />