This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:cigal:showplay:manual:chapter1:taskmenu [2015/05/12 18:46] voyvodic |
jvs:cigal:showplay:manual:chapter1:taskmenu [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
It can be very helpful to organize your task session into a simple pulldown menu in CIGAL. | It can be very helpful to organize your task session into a simple pulldown menu in CIGAL. | ||
- | Example (see Demo/ | + | CIGAL pulldown menus are simple text files, where each line in the menu is specified as: |
- | "Configure display | + | |
- | | + | command line1 |
- | + | command line2 ... | |
- | "Show responses | + | |
- | | + | The "Menu line" starts with a '"'; |
- | + | The Command Lines can be 1 or more CIGAL commands; these will be executed when the item is chosen.\\ | |
- | "(- | + | A blank line must be included to separate menu items.\\ |
- | + | A special menu line can be included to add a spacer bar to the menu; it looks like:\\ | |
- | " | + | "(- |
- | | + | |
- | | + | For an example of a task pulldown menu, run CIGAL and type the command:\\ |
- | + | list sample_taskmenu.txt | |
- | "Task 1 | + | |
- | showplay "taskdir/ | + | To save a copy of the example file in your current folder you can enter:\\ |
- | showplay | + | |
+ | |||
+ | Or simply copy the file from the Demo folder in CIGAL' | ||
+ | |||
+ | Notice that in the example menu, Showplay paradigms are run using 2 "showplay" | ||
+ | The first command includes the name of task file; this command loads the task. | ||
+ | The second line is just "showplay"; that actually runs the task. | ||
+ | |||
+ | Once you have created a pulldown menu file, you load it in CIGAL using the command: | ||
+ | menu taskmenu.txt | ||
+ | |||
+ | To have the menu appear automatically whenever you run CIGAL, create a startup file named start.txt (or start.imp) in your folder, and put your " | ||
**See Also:**\\ | **See Also:**\\ |