🧱 Delayed Prompts - articulateinstruments/AAA-DeepLabCut-Resources GitHub Wiki

(This is about Delayed Prompts which are a special type of Prompt. For information on Prompts in general, please have a look at the other pages about Prompts.)


If you want the prompt to be hidden from your participant until part-way through the recording, the Delayed Prompt feature will let you do that.

You can also use this feature to hide a prompt part-way through a recording, or to make the prompt change from one prompt to another.

There are 2 ways to control Delayed Prompts:

  1. Make all Prompts behave as Delayed Prompts using the Options menu
  2. Make individual prompts behave as Delayed Prompts by adding a special suffix to them in the Prompt List Editor

Make all Prompts behave as Delayed Prompts using the Options menu

Use the menu at the top of AAA to open OptionsSettings

image

Use the tabs at the top of the Options dialog to go to Utterances, then use the tabs at the bottom to go to Delayed Prompt.

image

You can choose the number of milliseconds to wait before the main prompt is shown. If the number is zero, the main prompt will display immediately.

You can also optionally add text and/or a bitmap image (BMP) that appears in place of the main prompt, which is replaced with the main prompt after the delay.

The settings you choose here will be used every time you make a recording for any prompt.


Make individual prompts behave as Delayed Prompts by adding a special suffix to them in the Prompt List Editor

This will let you customise individual prompts to become Delayed Prompts with settings of your choosing. All other prompts in your Prompt List will behave according to the settings you chose in the OptionsSettings menu.

Right-click on the Prompts and select Edit Prompt List...

image

In the Prompt List Editor, you can modify your prompts with a special suffix to make them behave as Delayed Prompts.

  • A single set of square brackets ([,]) at the end of your prompt with a number inside them, eg. Say Ah [4] will make the recording automatically stop after that many seconds.
  • A double set of square brackets ([,](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/,)) containing an equals sign (=) at the end of your prompt will make it into a delayed prompt:
    • Any text to the left of the equals (=) will be displayed while waiting for your prompt to appear.
    • You must put a number to the right of the equals (=) which is the number of milliseconds to wait before showing the main prompt.
    • For example, Say Ah [Hello=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/Hello=1000) would show Hello for 1000 milliseconds, then switch to showing Say Ah.
    • If you omit the text left of the equals (=), for example Say Ah [=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/=1000) then it will show nothing until 1000 milliseconds have passed, then it will show Say Ah.
    • If you omit the main prompt, but have text to the left of the equals, eg. [Hello=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/Hello=1000) then it will show Hello for 1000 milliseconds then Hello disappears until the end of the recording.
  • You can use both a double set of square brackets ([,](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/,)) and a single set of square brackets ([,]) in the same prompt, but they must be in that order, so the double set comes first and the single set comes after.

image

Here is an example set of prompts that you can copy-and-paste into the Prompt List Editor to demonstrate:

This prompt appears second[This prompt appears first=2000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/This-prompt-appears-first=2000)
This prompt appears after a while[=2000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/=2000)
[This prompt disappears after a while=2000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/This-prompt-disappears-after-a-while=2000)
This prompt has a unique duration [2]
This prompt appears second and has a unique duration[This prompt appears first=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/This-prompt-appears-first=1000) [3]
This prompt appears after a while and has a unique duration[=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/=1000) [3]
[This prompt disappears after a while and has a unique duration=1000](/articulateinstruments/AAA-DeepLabCut-Resources/wiki/This-prompt-disappears-after-a-while-and-has-a-unique-duration=1000) [3]