Hi,<div><br></div><div>Thank you all for your help so far. I have been reading a few posts on resolving image dimension issues. Here is what I have done so far:</div><div><br></div><div>1) My system resolution is 1280 x 800</div><div><br></div><div>2) I went to e-prime->experiment->devices->display->edit->and changed to 1280 x 768 (I do not have 800 as a drop down option).</div><div><br></div><div>3) My images have uniform pixel dimensions of 424 x 283 (bmp images). </div><div><br></div><div>4) I am using canvas object given the large number of images I have: </div><div><br></div><div>After loading the offscreen canvas, my script (based on a previous response to my question) is as shown below:</div><div><br></div><div>xMargin = 120</div><div>yMargin = 120</div><div><br></div><div>myRect.Left = xMargin </div><div>myRect.Right = xMargin + 424</div><div>myRect.Top = yMargin </div><div>myRect.Bottom = ymargin + 283 </div><div><br></div><div>However, this caused my images to be cropped. I played around with the numbers for xMargin, but did not get any satisfactory results (images are cropped on either length or width). </div><div><br></div><div>Then, I resorted to trying this:</div><div><br></div><div><div>XRes = 1280</div><div>YRes = 768</div><div><br></div><div>'define source rect as full screen</div><div>src.Left = 120</div><div>src.Top = 120</div><div>src.Right = Display.XRes</div><div>src.Bottom = Display.YRes</div><div><br></div><div>'define destination rect as top left quadrant</div><div>dest.Left = 120</div><div>dest.Top = 120</div><div>dest.Right = 120 + Display.XRes + 424</div><div>dest.Bottom = 120 + Display.YRes + 283</div></div><div><br></div><div>This yielded better results, but my images are still cropped. What am I missing here? I changed screen dimensions on e-prime to approximately"match" my system's resolution, but still not getting the results I desire. </div><div><br></div><div>Thank you again for your input,</div><div>Corona<br><br>On Sunday, September 16, 2012 2:18:01 PM UTC-4, Corona wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Thank you. I had looked at the site link you've given, but it was more a problem of running the validation tool that was failing (although I do have an original Vista version). Apparently, the error I encountered is quite common (or so, the Microsoft user forums suggest). I however, found a roundabout way, which may be useful for others: 
<a href="http://download.cnet.com/Help-Explorer-Viewer/3000-6675_4-10666661.html" target="_blank">http://download.cnet.com/Help-<wbr>Explorer-Viewer/3000-6675_4-<wbr>10666661.html</a> . This software application works as a reader for .hlp files.<div><br></div><div>Thank you for your suggestions. Now that I have the E-Basic help showing up(or visible), I can at least look it up.</div><div><br></div><div>Corona.<br><br>On Sunday, September 16, 2012 1:43:51 PM UTC-4, J wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    This should help with viewing help files in Windows Vista (as a
    novice e-basic programmer, I have to say that access to E-Basic Help
    is essential).<br>
    <br>
    <a href="http://support.microsoft.com/kb/917607" target="_blank">http://support.microsoft.com/<wbr>kb/917607</a><br>
    <br>
    J<br>
    <br>
    <div>On 9/16/2012 11:36 AM, Corona wrote:<br>
    </div>
    <blockquote type="cite">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>e-p...@googlegroups.com</a>.<br>
            To unsubscribe from this group, send email to
            <a>e-prime+u...@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>
      -- <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>e-p...@googlegroups.com</a>.<br>
      To unsubscribe from this group, send email to
      <a>e-prime+u...@googlegroups.com</a>.<br>
      To view this discussion on the web visit <a href="https://groups.google.com/d/msg/e-prime/-/fIy17qBfjrkJ" target="_blank">https://groups.google.com/d/<wbr>msg/e-prime/-/fIy17qBfjrkJ</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>
       <br>
    </blockquote>
    <br>
  </div>

</blockquote></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/-/T4x3Gov4v8AJ">https://groups.google.com/d/msg/e-prime/-/T4x3Gov4v8AJ</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 />