﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Fri, 08 May 2026 14:46:21 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6833.aspx</link><description>&lt;p&gt;/ timeout = (if(values.timer30="on") values.trial_limit30 else (if(values.timer60="on") values.trial_limit60))&lt;/p&gt;
&lt;p&gt;is invalid syntax. Inquisit does not have an else if control structure. You need to solve this differently. (Hint: There is no need for separate values entries for the 30 and 60 second timeouts; use a single one and just set it to either 30 or 60 seconds.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Wed, 19 Oct 2011 19:14:30 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6832.aspx</link><description>&lt;p&gt;THANK YOU! I have one more question about my code (which is updated). I also used the timer that you made, I hope that is okay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the participant is in the 60 second condition, I want to make values.60timer "on" and I specify this in the particular &amp;lt;expt&amp;gt; element. &amp;nbsp;However, it seems that values.30timer also gets switched to "on" as well in this condition, and so the /timeout property automatically goes to values.trial_limit30 (30 sec). The value.timers are all default "off". I don't see where it is being changed to "on" in my code unless the other conditions are getting looked at.&amp;nbsp;&lt;/p&gt;</description><pubDate>Wed, 19 Oct 2011 19:07:16 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6828.aspx</link><description>&lt;p&gt;[quote]I will take more time to read up on how these properties work before asking again[/quote]&lt;/p&gt;
&lt;p&gt;I'm not trying to scare you from asking further questions. Rather, I'm suggesting that getting to grips with some of Inquisit's basic constructs first will save you a lot of time and effort. The tutorials should provide you with a solid foundation in that regard.&lt;/p&gt;
&lt;p&gt;[quote]And oops, I didn't mean blocks -- I meant conditions (&amp;lt;expt&amp;gt;). I only get the first &amp;lt;expt&amp;gt; which goes through those instruction pages (not all of the &amp;lt;expt&amp;gt; elements go through all of them, or go through different ones).&amp;nbsp;[/quote]&lt;/p&gt;
&lt;p&gt;The different &amp;lt;expt&amp;gt; elements are run based on the numerical subject id. See the documentation for the /subjects attribute; see https://www.millisecond.com/forums/Topic4150.aspx#4150 for a more technical description. Case in point: You need to enter different subject numbers if you want to run different &amp;lt;expt&amp;gt;s.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Wed, 19 Oct 2011 06:02:05 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6827.aspx</link><description>&lt;p&gt;Thank you, I really appreciate your replies. I will take more time to read up on how these properties work before asking again. It's just that I can't exit after making the choice (with ALT+F4) so I found that weird. And oops, I didn't mean blocks -- I meant conditions (&amp;lt;expt&amp;gt;). I only get the first &amp;lt;expt&amp;gt; which goes through those instruction pages (not all of the &amp;lt;expt&amp;gt; elements go through all of them, or go through different ones).&amp;nbsp;&lt;/p&gt;</description><pubDate>Wed, 19 Oct 2011 05:54:50 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6825.aspx</link><description>&lt;p&gt;[quote]How do you get your code so nice and formatted?[/quote]&lt;/p&gt;
&lt;p&gt;See https://www.millisecond.com/forums/Topic4400.aspx#4400.&lt;/p&gt;
&lt;p&gt;[quote]Except now, the script crashes after I make a choice.[/quote]&lt;/p&gt;
&lt;p&gt;No, it does not crash after making a choice. In the "timer" conditions, you've set each trial to last 90 seconds via /trialduration. So, if you make a choice at, say, 5 seconds into the trial, the script will wait for 85 seconds before starting the next trial. You've told it to do so. Note that trialduration != timeout, see the documentation for those attributes for details. Also see the "&lt;span class="header1"&gt;How to Control Trial Duration and Inter-Trial 
Intervals" topic in the Inquisit documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;[quote]And if I DO let it idle for more than the trials I've specified (I only have 2 trials up right now for a particular block), it will pick another trial from the list, even though I specified noreplacenorepeat[/quote]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;You are mistaken about how sequence() as in &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;span class="header1"&gt;&amp;lt;block visual&amp;gt;&lt;br /&gt;&lt;span style="color: #ff0000;"&gt;/ trials = [1-2=sequence(yogurt_01, yogurt_02)&lt;/span&gt;]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;works. &lt;/span&gt;&lt;span class="header1"&gt;See https://www.millisecond.com/community/forums/p/1306/4092.aspx#4092. 'noreplacenorepeat' has nothing to do with it.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;[quote]In addition, other blocks are never "chosen"... so far, every time I've run the code, it only gives me the first block.[/quote]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;Well, again that's how you've set up the script:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;span class="header1"&gt;&amp;lt;expt&amp;gt;&lt;br /&gt;/ preinstructions = (visualintro, education, timer)&lt;br /&gt;/ postinstructions = (generaloutro)&lt;br /&gt;/ onexptbegin = [values.vis="on"; values.timer="on"; values.edu="on"]&lt;br /&gt;&lt;span style="color: #ff0000;"&gt;/ blocks = [1=sequence(visual)]&lt;/span&gt;&lt;br /&gt;/ subjects = (1 of 8)&lt;br /&gt;&amp;lt;/expt&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;obviously only runs a single block. The script can't chose another one if you don't tell it to. Additionally see the documentation for the /subjects attribute for details on between-subjects condition assignment based on the numerical subject id. I generally recommend you re-visit the various tutorials contained in the Inquisit helpfile to refresh some basics.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;~Dave&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Wed, 19 Oct 2011 02:05:22 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6824.aspx</link><description>&lt;p&gt;How do you get your code so nice and formatted? I don't wanna post my entire cod&lt;span style="font-family: 'courier new';"&gt;&lt;span&gt;e and have it be double-spaced and annoying to read. I uploaded my code, if you could please look at it.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the advice, I managed to get the randomization of images working! Except now, the script crashes after I make a choice. It doesn't crash when I let it idle and let trialduration go to the next trial. And if I DO let it idle for more than the trials I've specified (I only have 2 trials up right now for a particular block), it will pick another trial from the list, even though I specified noreplacenorepeat. I thought the experiment would have finished. Or will it not finish until a selection has been made? I can view the individual trials in Object Browser, but the selection problem occurs for each one.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In addition, other blocks are never "chosen"... so far, every time I've run the code, it only gives me the first block.&lt;/p&gt;

&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;Aya&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 21:22:36 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6819.aspx</link><description>&lt;p&gt;[quote]This would mean I would have to specify the list of images in /item for each &amp;lt;picture&amp;gt;, then, and have to use multiple &amp;lt;counter&amp;gt;s to make sure that each image presented is unique?&amp;nbsp;[/quote]&lt;/p&gt;
&lt;p&gt;The answer to both is "Not necessarily":&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;text left&amp;gt;&lt;br /&gt;/ items = myitems&lt;br /&gt;/ position = (25%,50%)&lt;br /&gt;/ select = mycounter&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;text center&amp;gt;&lt;br /&gt;/ items = myitems&lt;br /&gt;/ position = (50%,50%)&lt;br /&gt;/ select = mycounter&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;text right&amp;gt;&lt;br /&gt;/ items = myitems&lt;br /&gt;/ position = (75%,50%)&lt;br /&gt;/ select = mycounter&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;item myitems&amp;gt;&lt;br /&gt;/ 1 = "A"&lt;br /&gt;/ 2 = "B"&lt;br /&gt;/ 3 = "C"&lt;br /&gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter mycounter&amp;gt;&lt;br /&gt;/ select = noreplace(1-3)&lt;br /&gt;/ selectionrate = always&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;trial mytrial&amp;gt;&lt;br /&gt;/ stimulusframes = [1=left, center, right]&lt;br /&gt;/ validresponse = (anyresponse)&lt;br /&gt;&amp;lt;/trial&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;block myblock&amp;gt;&lt;br /&gt;/ trials = [1-3=mytrial]&lt;br /&gt;&amp;lt;/block&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The optimal approach depends on what you ultimately want to do, so plan wisely.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 12:46:05 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6818.aspx</link><description>&lt;p&gt;Ahh that makes a lot more sense now! Thank you very much.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This would mean I would have to specify the list of images in /item for each &amp;lt;picture&amp;gt;, then, and have to use multiple &amp;lt;counter&amp;gt;s to make sure that each image presented is unique?&amp;nbsp;&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 12:39:05 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6817.aspx</link><description>&lt;p&gt;A &amp;lt;counter&amp;gt; referenced in a stimulus element's (&amp;lt;text&amp;gt;, &amp;lt;picture&amp;gt;, etc.) /select attribute has the purpose of delivering an item's index number, not the actual item. Thus&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;text mytext&amp;gt;&lt;br /&gt;/ items = ("a","b","c")&lt;br /&gt;/ select = mycounter&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter mycounter&amp;gt;&lt;br /&gt;/ select = sequence(1,2,3)&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 11:21:37 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6816.aspx</link><description>&lt;p&gt;But what I want to be randomized is in the counter. (e.g. the numbers 5, 4, 3, 2, 1) If I put something in /items, wouldn't that disregard the numbers in the counter?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to do something like what you did in the other topic:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;lt;counter type2pos&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = (5%,25%,25%,35%,50%,65%,80%,95%)&lt;/p&gt;
&lt;p&gt;/ not = (type1pos)&lt;/p&gt;
&lt;p&gt;/ select = noreplace&lt;/p&gt;
&lt;p&gt;/ selectionrate = always&lt;/p&gt;
&lt;p&gt;&amp;lt;/counter&amp;gt;&lt;/p&gt;
&lt;div&gt;Where the different percentages are being put into the hposition property in &amp;lt;text&amp;gt;. Does /select in &amp;lt;text&amp;gt; not have access to the /items in &amp;lt;counter&amp;gt;?&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Aya&lt;/div&gt;
&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 10:49:03 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6815.aspx</link><description>&lt;p&gt;Since your &amp;lt;text&amp;gt; element does not have any items (i.e. no /items attribute), there's nothing it could possibly display.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 10:40:49 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6814.aspx</link><description>&lt;p&gt;OK, I updated that piece of code like so:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;lt;text type1&amp;gt;&lt;/p&gt;
&lt;p&gt;/ txcolor = (red)&lt;/p&gt;
&lt;p&gt;/ select = picz&lt;/p&gt;
&lt;p&gt;/ vposition = 25%&lt;/p&gt;
&lt;p&gt;/ hposition = 75%&lt;/p&gt;
&lt;p&gt;&amp;lt;/text&amp;gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the counter like so:&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&amp;lt;counter picz&amp;gt;&lt;/p&gt;
&lt;p&gt;/ select = sequence(5, 4, 3, 2, 1)&lt;/p&gt;
&lt;p&gt;&amp;lt;/counter&amp;gt;&lt;/p&gt;
&lt;/p&gt;

&lt;p&gt;type1 object still doesn't show up. :(&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 10:10:53 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6805.aspx</link><description>&lt;p&gt;The correct syntax to use counters for item selection is&lt;/p&gt;
&lt;p&gt;&amp;lt;text type2c&amp;gt;&lt;br /&gt;/ items = (...)&lt;br /&gt;/ vposition = 60%&lt;br /&gt;/ hposition = 30%&lt;br /&gt;/ select = picz&lt;br /&gt;&amp;lt;/text&amp;gt;&lt;/p&gt;
&lt;p&gt;See the documentation for the /select attribute and the &amp;lt;counter&amp;gt; element for details.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Tue, 18 Oct 2011 02:36:47 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6801.aspx</link><description>&lt;p&gt;Thank you!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will read more about how to configure web experiments .&lt;/p&gt;
&lt;p&gt;For randomizing the image positions, I decided to make the positions static and the images the ones that would be randomized. Unfortunately, it didn't work. I messed around with the code from the topic you linked to, trying it out with text stimuli.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would define a stimuli like so: (there are 4 of them in my code, just showing one)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[code]&amp;lt;text type2c&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = (counter.picz.selectedvalue)&lt;/p&gt;
&lt;p&gt;/ vposition = 60%&lt;/p&gt;
&lt;p&gt;/ hposition = 30%&lt;/p&gt;
&lt;p&gt;&amp;lt;/text&amp;gt;[/code]&lt;/p&gt;
&lt;p&gt;and the counter like so. In the real experiment I would use image names (it would be fine, right?)&lt;/p&gt;

&lt;p&gt;[code]&lt;/p&gt;
&lt;p&gt;&amp;lt;counter picz&amp;gt;&lt;/p&gt;
&lt;p&gt;/ items = ("blorg", "blagh", "bloo", "fjekl")&lt;/p&gt;
&lt;p&gt;/ select = noreplace&lt;/p&gt;
&lt;p&gt;&amp;lt;/counter&amp;gt;[/code]&lt;/p&gt;
&lt;div&gt;Now when I run the code, nothing shows up. I'm assuming it has to do with counter.picz.selectedvalue. I also tried currentitem, item. But nothing works :/&amp;nbsp;&lt;/div&gt;
&lt;p&gt;The reason why I'm keeping the positions static is because I need to vary the positions based on the x and y coordinates, which will be trickier to handle...&lt;/p&gt;</description><pubDate>Mon, 17 Oct 2011 19:02:47 GMT</pubDate><dc:creator>aya</dc:creator></item><item><title>RE: Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6793.aspx</link><description>&lt;p&gt;[quote]I would like to present the images in a 2 x 2 square, but have the images randomized to a position every time the experiment is run[/quote]&lt;/p&gt;
&lt;p&gt;See e.g. https://www.millisecond.com/forums/Topic5501.aspx for hints.&lt;/p&gt;
&lt;p&gt;[quote]Also, in the /trialduration property of &amp;lt;trial&amp;gt;, I would like to set a number of milliseconds only if a certain constraint is satisfied, i.e. /trialduration = [if (values.timer==1) 90000 else 99999999]. I thought this would work as the if statement would return an integer. I really wish this worked...[/quote]&lt;/p&gt;
&lt;p&gt;It does work. Correct syntax is&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;lt;trial mytrial&amp;gt;&lt;br /&gt;[...]&lt;br /&gt;/ trialduration = if (values.timer==1) 900 else 9999&lt;br /&gt;&amp;lt;/trial&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;[quote]Lastly, I would like to redirect my participants to a survey website after the experiment, but pass along their subject ID to the URL. Kinda like what was going on &lt;a href="/forums/Topic1109.aspx#1109"&gt;here&lt;/a&gt;. But how do I access that subject number? Is it unique for every participant?[/quote]&lt;/p&gt;
&lt;p&gt;You can't access the subject id. The method is to *always* start with the survey application (even if you're only showing some kind of introductory page), use the survey app's unique subject identifier, have the survey forward this id to Inquisit as URL parameter, etc. This is covered extensively in the "&lt;span class="header1"&gt;How to Interoperate Inquisit Web Edition with Online 
Survey Packages" topic in the Inquisit documentation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="header1"&gt;~Dave&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description><pubDate>Mon, 17 Oct 2011 02:14:19 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>Positioning of random images &amp;amp; Using a conditional expression in /trialduration... &amp;amp; more.</title><link>https://forums.millisecond.com/Topic6791.aspx</link><description>&lt;p&gt;Hello, I am doing an experiment that involves presenting 4 images on each trial. I would like to present the images in a 2 x 2 square, but have the images randomized to a position every time the experiment is run.&lt;/p&gt;
&lt;p&gt;For example, if I had images 1, 2, 3, and 4:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Participant 1, Trial 1 sees this:&lt;/p&gt;
&lt;p&gt;1 3&lt;/p&gt;
&lt;p&gt;4 2&lt;/p&gt;
&lt;p&gt;Participant 2, Trial 1 sees this:&lt;/p&gt;
&lt;p&gt;2 4&lt;/p&gt;
&lt;p&gt;1 3&lt;/p&gt;
&lt;p&gt;I hope that makes sense.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I understand that you can randomize the images in trials, but that's only if you want to present them in a row or a column. Is that correct?&lt;/p&gt;
&lt;p&gt;Also, in the /trialduration property of &amp;lt;trial&amp;gt;, I would like to set a number of milliseconds only if a certain constraint is satisfied, i.e. /trialduration = [if (values.timer==1) 90000 else 99999999]. I thought this would work as the if statement would return an integer. I really wish this worked...&lt;/p&gt;
&lt;p&gt;Lastly, I would like to redirect my participants to a survey website after the experiment, but pass along their subject ID to the URL. Kinda like what was going on &lt;a href="/forums/Topic1109.aspx#1109"&gt;here&lt;/a&gt;. But how do I access that subject number? Is it unique for every participant?&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Thanks!&lt;/p&gt;</description><pubDate>Sun, 16 Oct 2011 21:20:50 GMT</pubDate><dc:creator>aya</dc:creator></item></channel></rss>