<div dir="ltr">Hi there,<div><br></div><div>I have a task where 50 pictures appear in a random order, and in one of 4 locations, randomly. To program this, I created 50 nested lists within my TrialList, and then within each nested list, created 4 different levels each with a different procedure that consists of showing an image in 4 different locations on a slide object - the nested lists then randomly select one of those levels/procedures to display (not the most efficient method, but it works). All I need to do is create a string variable of which level/procedure was used (because ultimately I need to integrate this variable into some code that allows it to send messages to the eyetracker we're using, which I already know how to do). The solution I came up with was to go through each of the nested lists, and create a 'picture' variable specific to each procedure and implement this code:</div><div><br></div><div>''determine which nested list is being used currently</div><div>Dim procname As String</div><div>
<p class="p1">procname = c.GetAttrib("Running") </p><p class="p1">''determine which level of the nested list was chosen</p><p class="p1">Dim imglocation As String</p><p class="p1">imglocation = procname.GetCurrentAttrib("picture")</p><p class="p1">**insert eyetracking message code here referring to "imglocation" variable**</p><p class="p1">However, the creation of a 'picture' variable for 4 different procedures across 50 nested lists will be pretty time consuming, and I'm also not sure it will even work (can someone weigh in on that?). Does anyone have a solution for retrieving the current level/procedure (<i>not </i>current list) and setting it as a variable?</p><p class="p1">Many thanks!</p><p class="p1">Lisa</p></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/f0d17644-08f5-43b9-8a0a-e3e0706f1aa2%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/f0d17644-08f5-43b9-8a0a-e3e0706f1aa2%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />