User Tools

Site Tools


jvs:cigal:showplay:manual:chapter1:taskmenu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/Taskmenu.txt file in CIGAL's system folder):  +CIGAL pulldown menus are simple text files, where each line in the menu is specified as
-  "Configure display +   "Menu line 
-  configdisplay +   command line1 
-   +   command line2 ... 
-  "Show responses +  
-  showbehavior +The "Menu line" starts with a '"'; this is what you will see in the menu.\\ 
-       +The Command Lines can be 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:\\ 
-  "Rest scan +"(- 
-  showplay "taskdir/rest_task384s.txt" + 
-  showplay +For an example of a task pulldown menu, run CIGAL and type the command:\\ 
-   + list  sample_taskmenu.txt 
-  "Task 1 + 
-  showplay "taskdir/task1.txt" +To save a copy of the example file in your current folder you can enter:\\ 
-  showplay+ list  sample_taskmenu.txt 0  >  taskmenu.txt 
 + 
 +Or simply copy the file from the Demo folder in CIGAL's system folder (enter "type sysdir" in CIGAL to find the system folder).  Note that the "0" is important if you copy the file using the LIST command above (it prevents a header being added). 
 + 
 +Notice that in the example menu, Showplay paradigms are run using 2 "showplay" commands
 +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 "menu" command in it.
  
 **See Also:**\\ **See Also:**\\
jvs/cigal/showplay/manual/chapter1/taskmenu.1431456366.txt.gz · Last modified: 2015/05/12 18:46 by voyvodic