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:40] voyvodic |
jvs:cigal:showplay:manual:chapter1:taskmenu [2015/05/12 19:31] voyvodic |
||
---|---|---|---|
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 ( | + | CIGAL pulldown menus are simple text files, where each line in the menu is specified as: |
- | "Configure display | + | |
- | | + | command line1 |
- | + | command line2 ... | |
- | "Eyechart and sound test | + | |
- | | + | 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 |
- | | + | |
- | + | To save a copy of the example file in your current folder you can enter:\\ | |
- | "(- | + | list sample_taskmenu.txt |
- | + | ||
- | "Rest scan | + | Or simply copy the file from the Demo folder in CIGAL' |
- | | + | |
- | | + | Notice that in the example menu, Showplay paradigms are run using 2 " |
- | + | The first command includes the name of task file; this command loads the task. | |
- | | + | The second line is just " |
- | | + | |
- | | + | 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:**\\ |