Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: randomizing text color

  1. #1
    Join Date
    Sep 2009
    Posts
    2

    randomizing text color

    Dear ALL, I am a fresh user. Will greatly appreciate any ideas on how
    I can randomize color of the text for each trial, i.e. like for the Stroop test.
    How to randomize style for each trial?

  2. #2
    Join Date
    Mar 2009
    Posts
    401
    As noted in the post found here: http://www.empirisoft.com/support/showthread.php?t=2853 - you wouldn't quite want to simply use the rand() function to specify what style is used; however there are other ways to approach this issue.

    By utilizing the 'WGR' and 'BGR' functions, you can create a variety of trials that are randomized among each other. Each of these individual trials may be assigned to display the specified text in a specific color. Say green, red, blue, then yellow. You could repeat these four trials as a group four times, which would then leave you with 16 trials. Each of these trials could then be assigned a stimlist that contains a variety of words, such as 'green', 'red', 'blue', and 'yellow'. The stimlist could then be assigned to randomly select from this list and then present the text as a stimulus for the trial. Does this make sense?

    You may also want to run through the samples that DirectRT comes with - as the stroop sample included may be able to assist you in making this experiment.

Similar Threads

  1. Changing background color for different questionnaires
    By lisa7174 in forum MediaLab Older Versions: How Do I...
    Replies: 2
    Last Post: 10-14-2023, 01:56 AM
  2. Stroop Task Color Randomization
    By nabraib in forum DirectRT Older Versions: General Questions
    Replies: 1
    Last Post: 07-30-2009, 03:47 PM
  3. Duplicating style colour (color for us Yanks)
    By David McFarlane in forum DirectRT Older Versions: How Do I...
    Replies: 1
    Last Post: 06-12-2009, 11:40 AM
  4. Background Color
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 06-06-2006, 09:22 AM
  5. Can I change the color of the buttons?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 01-18-2006, 02:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •