home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / myfeelx.zip / toolbox.inc < prev   
Text File  |  1994-11-17  |  13KB  |  314 lines

  1. /*******************************************************************************
  2.  
  3. This file defines:
  4.  
  5.    Default_FeelX
  6.    Default_Shell
  7.    Default_Actionbar
  8.  
  9.    Window
  10.  
  11.  
  12. *******************************************************************************/
  13.  
  14. Default_FeelX:= menu [                   // RMB on title bar
  15.             entry="Standard FeelX menu"  // not necessary in a toplevel menu
  16.             item=feelx [ entry="FeelX"   // Selecting FeelX turns on/off
  17.                          focus=false     // Sliding focus
  18.                          all=false       // All controls off
  19.                          cutpaste=true   // Cut & Paste in shells
  20. (*                       hide=true       // hiding of mouse pointer *)
  21.                        ] /* end feelx */
  22.             item=altcutpaste             // alternate Cut & Paste keys
  23. //          item=altcutpaste [entry="blah blah"] /* example other menu entry! */
  24.             item=-                       // Separator
  25.             item=Window                  // Window is a menu defined below
  26.             item=-
  27.             item=Prompt                  // Start a shell
  28.             item=redraw                  // Redraw the contents of window
  29.             item=top 
  30.             item=winhotkey               // Assign a hotkey to this window
  31.           ] /* end of menu */
  32.  
  33.  
  34. Window := menu [                              // see feelx.inf for more information
  35.             entry="window"
  36.             item=*zorder[ entry="W. -> background", pos=wbottom]
  37.             item= zorder[ entry="P.-> 1 back",      pos=pnext]
  38.             item= zorder[ entry="P.-> background",  pos=pbottom]
  39.             item= zorder[ entry="P.-> foreground",  pos=ptop]
  40.           ] /* end of menu */
  41.  
  42. Default_Shell:= menu [                        //MMB on VDM
  43.             entry="Standard Shell"
  44.             item=keyin["C:\n","c:"]
  45.             item=keyin["D:\n","d:"]
  46.             item=keyin["E:\n","e:"]
  47.             item=-
  48.             item=keyin[entry="ESC\n",string="\e"]
  49.             item=keyin[entry="Enter\n",string="\n"]
  50.             item=keyin [entry="cd (%c)\n",string="cd %c\n" ]
  51.             item=*keyin[ "dw\n", "~dw" ]
  52.             item=keyin [ "scr\n", "~scr" ]
  53.             item=keyin [ "zd\n", "~zd" ]
  54.             item=keyin [entry="Delete Path (%C)\n",string="delpath %c\n"]
  55.             item=-
  56.             item=keyin [ entry="List (%c)\n",string="list %c\n"]
  57.             item=keyin[ entry="~pk (%c)\n", string="pk %c\n" ]
  58.             item=menu [
  59.                         entry="~font"
  60.                         item=*font [ entry="~small font", font=1 ]
  61.                         item= font [ entry="~large font", font=5 ]
  62.                       ] /* end of menu (anonymous item) */
  63.             item=keyin [ entry="open folder", string="wpopen\n" ]
  64.             item=kill [ entry="e~xit" /*, killchild=true */ ]
  65.           ] /* end of main menu  (Standard_shell) */
  66.  
  67. Default_Desktop := menu [               //MMB on desktop
  68.             item= hideactionbar
  69.             item= Config Feelx
  70.             item= Config WPS
  71.             item= feelx [entry="Sliding Focus", focus=true]
  72.             item= -
  73.             item= CommandPrompts[]
  74.             item=*Prompt                // Start a shell (* = this is default!)
  75.             item= -
  76.             item= Apps
  77.             item= Games
  78.             item= Tools
  79.             item= StartUp
  80.             item= -
  81.             item= User_Documentation
  82.             item= -
  83.             item= HelpFeelX
  84.             item=program [ entry="PM Shutdwn", name="e:\os2miss\pmshut.exe",
  85.                  parameters="10",path="e:\os2miss"]
  86.                  item=QuitFeelX [entry="Quit FeelX"]
  87.           ] /* end of menu */
  88.  
  89. Focus off := program [title="Focus off",name="fxopt.exe",
  90.                    parameters="focus:off",entry="Focus Off",window=invisible]
  91.  
  92. Default_Actionbar := actionbar [           // At top or bottom of desktop
  93.             item=CommandPrompts[]
  94.             item=Tools[]
  95.             item=Apps[]
  96.             item=Games[]
  97.             item=ConfigActionbar
  98. //          item=User_Documentation[]
  99.             item=HelpFeelXActionbar
  100.           ] /* end of menu */
  101. //Startup := Default_Actionbar
  102.  
  103.  
  104. Config Feelx:= menu [
  105.             entry="Config Feelx"
  106.             item=feelx [ entry="Cut & Paste", cutpaste=true ]
  107.             item=feelx [ entry="Hide mouse", hide=true ]
  108.             item=-
  109.             item=hideactionbar
  110.             item=-
  111.             item=program [entry="Ed Toolbx",
  112.             name="",parameters="teb.cmd",
  113.             path="e:\feelx",type=os2win]
  114.            ] /* end of menu */
  115.  
  116. ConfigActionbar:= menu [
  117.             entry="Config"
  118.             item=feelx [ entry="Sliding focus", focus=false ]
  119.             item=feelx [ entry="Cut & Paste", cutpaste=true ]
  120.             item=feelx [ entry="Hide mouse", hide=true ]
  121.             item=-
  122.             item=hideactionbar
  123.             item=moveactionbar
  124.             item=-
  125. //          item=mwinlist[entry="Win List",all=false,items="startfx.exe"]
  126.             item=program [ entry="Shutdwn", name="shutdown.exe",
  127.             path=e:\os2miss,type=os2win]
  128.             item=QuitFeelX
  129.            ] /* end of menu */
  130.  
  131. Games:=menu [
  132.           entry="Games"
  133.           item=program [entry="MO",name="mo.exe",
  134.           parameters="",VIDEO_8514A_XGA_IOTRAP=0,
  135.           VIDEO_SWITCH_NOTIFICATION=1,path="d:\tarot",
  136.           type=dosfs]
  137.           item=program [entry="MineS",
  138.           name="e:\os2games\mine.exe",path="e:\os2games"]
  139.           item=program [entry="MahJ (non IBM)",
  140.           name="e:\os2games\mahjongg.exe",path="e:\os2games"]
  141.           ] /* end of menu */
  142.  
  143. Apps:=menu [
  144.             entry="Apps"
  145.             item=program [entry="FaxPM",
  146.             name="e:\faxpm\faxpm.exe"]
  147.             item=program [entry="FaxDDE",name="e:\faxpm\faxdde.exe"]
  148.             item=program [entry="Zoc 2.0",
  149.             name="e:\zoc\zoc.exe",parameters="",SESSION_PRIORITY=20,
  150.             path="e:\zoc"]
  151.             item=program [entry="MR212",
  152.             name="e:\reader\mr2.exe",path="e:\reader",type=os2win]
  153.             item= MODI
  154.             item=program [entry="AmiPro 3.0b",
  155.             name="e:\amipro\amipro.exe",path="e:\amipro"]
  156.             ] /*end of menu */
  157.  
  158. MODI := chain [entry="123G v2.1",items=123G,items=Focus off]
  159.  
  160. 123G:= program [entry="123G",
  161.              name="e:\123g\123g.exe",parameters="",SESSION_PRIORITY=20,
  162.              MOUSE_EXCLUSIVE_ACCESS=ON,path="e:\123g",child=false
  163.              ]
  164.  
  165. Config WPS:=menu [
  166.             entry="Config WPS"
  167.             item=object [ entry="Sys Folder", object="<WP_CONFIG>" ]
  168.             item=program [ entry="edit config.sys", name="tedit.exe", parameters="config.sys" ]
  169.             item=program [ entry="Select Inst", name="install.exe" ]
  170.             item=object [ entry="Font", object="<WP_FNTPAL>" ]
  171.             item=object [ entry="System/ATI", object="<WP_SYSTEM>"]
  172.            ] /* end of menu */
  173.  
  174.  
  175.  
  176. Prompt:= program [
  177.             entry="Shell"
  178.             type=os2win                  // no name: shell
  179.             child=true                   // as a child: move to top
  180.          ] /* end of program */
  181.  
  182.  
  183. User_Documentation:= menu [
  184.        entry="User Documentation"
  185.   item= program [ entry="OS/2", name="view.exe", parameters="cmdref.inf" ]
  186.   item= program [entry="4OS2",name="view.exe",parameters="e:\txtdoc\4os2.inf"]
  187.            ] /* end of menu */
  188.  
  189. Tools:= menu [
  190.       entry="Tools"
  191.       item= pmkill
  192.       item= minimize
  193.       item= program [ entry="Mole", name="e:\os2miss\mole.exe",
  194.       path="e:\os2miss"]
  195.       item= program [ entry="PmShell",name="pmshell.exe",path="c:\os2",
  196.       child=false]
  197.       item= -
  198.       item= program [ entry="Clipboard", name="clipos2.exe" ]
  199.       item= program [ entry="Calculator", name="e:\os2miss\scalc.exe" ]
  200.       item= program [ entry="Calandar",name="e:\os2miss\caldesk.exe"]
  201.       item= -
  202.       item=program[entry="PMCamera",name="e:\pmcam\pmcamera.exe",
  203.       path="e:\pmcam"]
  204.       item=program [entry="Ini Maint",name="e:\maint\inimaint.exe"
  205.       ,path="e:\maint",window=pm]
  206.       item=program[entry="PMJPEG",name="e:\peg\pmjpeg.exe",path="e:\peg"]
  207.       item= Wo
  208.       item= program [entry="Backmaster",name="e:\backmast\backmast.exe"]
  209.       item= ReXX [ entry="ReXX: %c"
  210.                    window=pm ]
  211.       item= PmShell
  212.       ] /* end of menu */
  213.  
  214. StartUp:= menu [
  215.         entry="StartUp"
  216.   item=program[entry="PMP 2.13",name="e:\pmp\pmpatrol.exe",
  217.   path="e:\pmp",child=false]
  218.   item=program[entry="Blanker",name="e:\blanker\blanker.exe",
  219.   path="e:\blanker",child=false]
  220.   item=program[entry="Watch Cat",name="watchcat.exe",path="e:\4os2",
  221.   window=invisible,parameters="/1 /A",child=false,]
  222.   item=program[entry="Watch Cat Toggle",name="watchcat.exe",path="e:\4os2",
  223.   window=invisible,parameters="toggle"]
  224.         ] /* end of menu */
  225.  
  226. Wo:= program [
  227.        title="wo"                        // Title of pm window
  228.        name="wo.exe"                     // The program name
  229.        parameters="-p c-:[Which file?]"     // Ask for file as a parameter
  230.        window=pm                         // -> send output to a PM-Window
  231.        entry="Where is ...?"             // menu entry
  232.        ]
  233.  
  234. cprogram:=program [ child=true ]
  235.  
  236. CommandPrompts:= menu [
  237.       entry="Command Prompts"
  238.       item=cprogram [ entry="OS/2 Shell (win)", type=os2win,
  239.       parameters="alias /r e:\4os2\os2alist" ]
  240.       item=cprogram [ entry="OS/2 Shell (fs)", type=os2fs,
  241.       parameters="alias /r e:\4os2\os2alist" ]
  242.       item=-
  243.       item=cprogram [ entry="DOS Shell (win)", type=doswin,
  244.       parameters="alias /r d:\4dos\dalist",VIDEO_8514A_XGA_IOTRAP=0,
  245.       VIDEO_RETRACE_EMULATION=ON
  246.       ]
  247.       item=cprogram [ entry="DOS Shell (fs)", type=dosfs,
  248.       parameters="alias /r d:\4dos\dalist",VIDEO_8514A_XGA_IOTRAP=0,
  249.       VIDEO_RETRACE_EMULATION=ON
  250.       ]
  251.       item=-
  252.  
  253.       item=cprogram [ entry="Windows (fs)", name="progman.exe",
  254.       parameters="",VIDEO_8514A_XGA_IOTRAP=0,
  255.       VIDEO_RETRACE_EMULATION=1,DPMI_MEMORY_LIMIT =64,
  256.       VIDEO_SWITCH_NOTIFICATION=1,SESSION_PRIORITY=10,
  257.       window=maximized,
  258.       type=windoze31 ]
  259.       item=cprogram [entry="QBW-Painting",
  260.       name="d:\qbooksw\qbw.exe ",
  261.       parameters="d:\accdata\accent_p.qbw",VIDEO_8514A_XGA_IOTRAP=0,
  262.       VIDEO_RETRACE_EMULATION=1,DPMI_MEMORY_LIMIT =64,
  263.       VIDEO_SWITCH_NOTIFICATION=1,
  264.       window=maximized,
  265.       type=windoze31seamless]
  266.       item=cprogram [entry="QBW-Personal",
  267.       naem="d:\qbooksw\qbw.exe",
  268.       parameters="d:\accbryan\accent_p.qbw",VIDEO_8514A_XGA_IOTRAP=0,
  269.       VIDEO_RETRACE_EMALATION=1,DPMI_MEMORY_LIMIT =64,
  270.       VIDEO_SWITCH_NOTIFICATION=1,
  271.       window=maximized,
  272.       type=windoze31seamless ]
  273.       item=cprogram [ entry="Windows (seamless)", name="progman.exe",
  274.       parameters="",VIDEO_8514A_XGA_IOTRAP=0,
  275.       VIDEO_RETRACE_EMULATION=1,DPMI_MEMORY_LIMIT =64,
  276.       VIDEO_SWITCH_NOTIFICATION=1,
  277.       window=maximized,
  278.       type=windoze31seamless ]
  279.                     ] /* end of menu */
  280.  
  281. HelpFeelX:= menu [
  282.       entry="Help"
  283.       item=*program [ entry="FeelX Doc", name="view.exe", parameters="e:\feelx\feelx.inf"]
  284.       item=program [ feelxpath=true, entry="FeelX Help about %c", name="view.exe", parameters="feelx &" ]
  285.       item=program [ entry="OS/2 Help about %c", name="view.exe", parameters="cmdref &" ]
  286.       ]
  287.  
  288. HelpFeelXActionbar:= menu [
  289.       entry="Help"
  290.       item=program [ entry="FeelX Doc", name="view.exe", parameters="feelx" ]
  291.       item=program [ entry="Help about %c", name="view.exe", parameters="feelx &" ]
  292.       item=program [ entry="OS/2 Help about %c", name="view.exe",
  293.        parameters="cmdref &" ]
  294.       ]
  295. OS2Help:=program [entry="OS/2 Cmd~Help", name="view.exe", parameters="cmdref &"]
  296.  
  297. ReXX := program [
  298.                   feelxpath=true
  299.                   name="callrx.exe"
  300.                   entry="ReXX"
  301.                   rexxfile="interp.cmd"
  302.                   rexxparameter="&"
  303.                   parameters="<rexxfile> <rexxparameter>"
  304.                 ]
  305.  
  306. Default_Hotkeys:=hotkey [
  307. // Please note: only the first two entry are on per default,
  308. // all others are commented out.
  309. // Ctrl-Shift-PgDn: Move window into the Background
  310.                 pgdn=zorder [ pos=pbottom ]
  311. // Ctrl-Shift-PgUp: Move window into the Front
  312.                 pgup=zorder [ pos=ptop ]
  313.                         ]
  314.