home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / feelx11a.zip / EXAMPLES.GO < prev    next >
Text File  |  1994-04-22  |  2KB  |  41 lines

  1. /* Assume that you do not paste with the middle (3rd mouse button)            */
  2. /* Use the following statement to paste with the middle mouse button with CR  */
  3.  
  4. Shell3:= keyin [ string="%c\n" ]
  5.  
  6.  
  7. /* The following statement implements a popup-menu-windowlist on              */
  8. /* Ctrl-Shift-Esc. (Use behind an other Hotkeys definition)                   */
  9.  
  10. Hotkeys:= Hotkeys [ esc=mwinlist [] ]
  11.  
  12.  
  13. /* The following example shows how to integrate a textmode program into FeelX */
  14. /* Please make sure that the program is in the path or type in the fully      */
  15. /* qualified path name at the name-attribute                                  */
  16.  
  17. program [
  18.     entry="Whereis"                   /* If this appears in the menu then show*/
  19.                                       /* the string Whereis                   */
  20.     name="wo.exe"                     /* the name (or c:\tools\...)           */
  21.     parameters="c-:[Which file]"      /* Ask for "Which file" and substitute  */
  22.                                       /* [...] with the answer                */
  23.     window=pm                         /* redirect output to a small viewer    */
  24.     title="wo"                        /* This is the program title            */
  25.     ] /* end of program */
  26.  
  27. /* You can simply get help about a specific topic with the following fragment */
  28. /* Mark WinCreateWindow in your text and execute the following instruction    */
  29.  
  30. Help:= program [
  31.           entry="Help!!"                        /* the menu entry             */
  32.           name="view.exe"                       /* the help viewer of OS/2    */
  33.           parameters="PMFUN.INF+PMWIN.INF &"    /* the references and         */
  34.        ] /* end of program */                   /* & (=Clipboard)             */
  35.  
  36.  
  37. /* You want to have the real windowlist to appear when the mouse is in the    */
  38. /* lower right corner?                                                        */
  39.  
  40. MenuLR:=winlist
  41.