<div dir="ltr">Thanks David, it worked with the attribute (which in fact I had to create with set.attrib in each trial).<div><br></div><div>The thing with creating an experimental procedure without code first (using the drag&drop elements) and then looking at the code, that didn't really work out.</div><div>I remember in old versions the code was quite readable, though. In the current version the code is written like all in one block of text and you don't really see what's heppening. That is sad because I think it was one of the great features of E-Prime.</div><div><br></div><div>Best,Tobias<br><br>Am Dienstag, 19. August 2014 20:11:26 UTC+2 schrieb McFarlane, David:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Tobias,
<br>
<br>First, if at all possible I recommend that you instead use an 
<br>attribute reference for the image filename, and if needed just use 
<br>inline code to set that attribute.  Please see discussion at 
<br><a href="https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs" target="_blank" onmousedown="this.href='https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs';return true;" onclick="this.href='https://groups.google.com/d/topic/e-prime/dWpfjk-BeLs';return true;">https://groups.google.com/d/<wbr>topic/e-prime/dWpfjk-BeLs</a> .
<br>
<br>If you must persist in assigning the filename directly in code, that 
<br>takes several steps, too tedious to write out here.  Your best bet is 
<br>to make a Slide with an image sub-object that uses an attribute 
<br>reference, have E-Studio generate the code, then look at the code 
<br>that generated by E-Studio and go from there.  That's how I figure 
<br>out much of this stuff.
<br>
<br>Best,
<br>-----
<br>David McFarlane
<br>E-Prime training 
<br>online:  <a href="http://psychology.msu.edu/Workshops_Courses/eprime.aspx" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx\46sa\75D\46sntz\0751\46usg\75AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fpsychology.msu.edu%2FWorkshops_Courses%2Feprime.aspx\46sa\75D\46sntz\0751\46usg\75AFQjCNHhJVD3mCfXKdywfB5AgKLPu1OSJg';return true;">http://psychology.msu.edu/<wbr>Workshops_Courses/eprime.aspx</a>
<br>Twitter:  @EPrimeMaster (<a href="https://twitter.com/EPrimeMaster" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Ftwitter.com%2FEPrimeMaster\46sa\75D\46sntz\0751\46usg\75AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Ftwitter.com%2FEPrimeMaster\46sa\75D\46sntz\0751\46usg\75AFQjCNHlT7nwYBmELwRxV4Xn5GW-sG9EKw';return true;">https://twitter.com/<wbr>EPrimeMaster</a>)
<br>
<br>/----
<br>Stock reminder:  1) I do not work for PST.  2) You may reach PST's 
<br>trained staff (and other support facilities) at 
<br><a href="https://support.pstnet.com" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fsupport.pstnet.com\46sa\75D\46sntz\0751\46usg\75AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fsupport.pstnet.com\46sa\75D\46sntz\0751\46usg\75AFQjCNF5BfukPzW6lq7UCweMsMu7_9wJEQ';return true;">https://support.pstnet.com</a> .  3) If you do get an answer from PST 
<br>staff, please extend the courtesy of posting their reply back here 
<br>for the sake of others.
<br>\----
<br>
<br>
<br>At 8/19/2014 01:49 PM Tuesday, Tobias wrote:
<br>>I have a slide ("Slide1") that has an image on it called "Image1". 
<br>>Now I want to use code to specify the filename of that image 
<br>>according to my needs.
<br>>
<br>>I have tried something like Slide1.Image1.filename = "picture.bmp" 
<br>>but that doesn't seem to work. It says "Image1 is not a property of 
<br>>the object".
<br>>
<br>>Any ideas how to solve this problem?
<br>>
<br>>Thanks,
<br>>Tobias
<br>
<br></blockquote></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/400470d9-e304-4ec7-8dc7-9a0fc76d4720%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/400470d9-e304-4ec7-8dc7-9a0fc76d4720%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />