I need script to automatically end after stimulus or a continue button appears after stimulus plays...


I need script to automatically end after stimulus or a continue button...
Author
Message
bkorsmo
bkorsmo
Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)Partner Member (564 reputation)
Group: Forum Members
Posts: 7, Visits: 86
Hi,

I want this script to automatically go to next script in batch at the end of the sound stimulus. Meanwhile I would like subjects to be able to quit at anytime during sound stimulus. I either want the script to automatically go to next script at end of sound or have a continue button appear only at the end of sound.

<html meditate>
/items = ("body scan during recording.html")
/ size = (90%,85%)
/ vposition = 40
</html>
**************************************
Response Buttons
**************************************
<text continue>
/items = ("Continue")
/ hposition = 84.5
/ vposition = 91.5
/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)
/ txcolor = (white)
/txbgcolor = (dodgerblue)
/size = (30%, 15%)
/ vjustify = center
</text>

<text quit>
/items = ("Quit")
/ hposition = 15.5
/ vposition = 91.5
/ fontstyle = ("Arial", 5%, false, false, false, false, 5, 1)
/ txcolor = (white)
/txbgcolor =(darkturquoise)
/size = (30%, 15%)
/vjustify = center
</text>

<trial Consent>
/inputdevice = mouse
/stimulusframes = [1 = meditate, continue, quit, hi,timer]
/validresponse = (continue, quit)
/monkeyresponse = ("continue")
/ontrialend = [if (trial.Consent.response == "disagree") script.abort()]
</trial>


<sound hi>
/items= ("test.mp3")
/ playthrough = false
</sound>

<clock timer>
/ mode = timer
/ resetrate = block
/ erase = false
/ txcolor = (black)
/ txbgcolor = (white)
/timeout=5000
/ position = (50%,93%)
/ format = "mm:ss"
/ fontstyle = ("arial", 7%, false)
</clock>
**************************************
Consent Block
**************************************
<block Consent>
/trials = [1 = Consent]

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search