home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / womnu24b.zip / WOMENU.DOC < prev    next >
Text File  |  1994-07-16  |  38KB  |  934 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                    WOmenu
  20.                                    ══════
  21.  
  22.                           The Windows Office Menu
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                       ▄▄▄▄▄▄▄▄▄▄▄
  29.                       █  ▄▄▄▄▄  █  (C)Copyright 1994
  30.                       █  █   █  █
  31.                       █  ▀▀▀▀▀  ▀  Bremer Corporation
  32.                       █  ▄▄▄▄▄  ▄  Austin, Texas
  33.                       █  █   █  █
  34.                       █  ▀▀▀▀▀  █  All rights reserved
  35.                       ▀▀▀▀▀▀▀▀▀▀▀
  36.  
  37.  
  38.  
  39.  
  40.  
  41.                                  Version 2.5
  42.  
  43.                                   July 1994
  44.                               TABLE OF CONTENTS
  45. ══════════════════════════════════════════════════════════════════════════════
  46.  
  47.      Topic                                                          Section
  48.  
  49.      Introduction ......................................................  3
  50.  
  51.      Miscellaneous .....................................................  4
  52.  
  53.      Quick Start .......................................................  5
  54.  
  55.      Commands ..........................................................  6
  56.  
  57.      WOmenu INI File ...................................................  7
  58.  
  59.      User Help INI FIle ................................................ 10
  60.  
  61.      Menu Rights ....................................................... 11
  62.  
  63.      Users Windows Environment.......................................... 14
  64.  
  65.      DOS Environment Variables ......................................... 15
  66.  
  67.      DOS Program PIF Files ............................................. 16
  68.  
  69.      Software Metering Service ......................................... 17
  70.  
  71.      WOmeter Windows Metering Utility .................................. 19
  72.  
  73.      DOSmenu Menu System ............................................... 20
  74.  
  75.      Shareware ......................................................... 21
  76.                                INTRODUCTION
  77. ══════════════════════════════════════════════════════════════════════════════
  78.  
  79. WOmenu was designed as a simple yet powerful menu system for both network and
  80. stand-alone environments where users must operate under Windows(tm).  Our
  81. environment demands a safe, secure menu to help our users run both DOS and
  82. Windows applications without allowing undo access to our large Texas-wide
  83. NetWare network.  The menu system we needed had to be both easy to use and
  84. flexible and yet it had to stay out of the way as much as possible for our
  85. user operations.  Because we could not find one, we wrote our own.  We hope it
  86. helps you control your Windows environment as well.  Please use WOmenu as you
  87. see fit, but if you continue to use it, you should register according to the
  88. SHAREWARE section below.
  89.  
  90.  
  91. Here is an example of why you might need WOmenu to help you out:
  92.  
  93. You have a network with one or more servers and many users.  Most of these
  94. users run a couple of business-specific apps and some utilities that you
  95. allow.  Now, you are finding that these users can be much more productive if
  96. they could run their one or two business apps at the same time while having
  97. their email and a utility or two instantly available.  This, of course, means
  98. multi-tasking, which probably means Windows.  But how do you keep all of those
  99. 'nice' things that Windows offers, like the File Manager and Write and
  100. Notepad, away from the users while defining a Program Group that makes sense
  101. to _each_ user?  Enter WOmenu...it was made to solve just that!
  102.  
  103.  
  104. Here is a quick overview of WOmenu:
  105.  
  106. o    Low resource utilization.
  107.  
  108. o    Flexible user-specific menus.
  109.  
  110. o    Unlimited menu items.
  111.  
  112. o    Unlimited sub-menus.
  113.  
  114. o    Run any program, DOS or Windows based.
  115.  
  116. o    Prevent multiple runs of the same program.
  117.  
  118. o    Easily operate the menu system without having to outfit users with mice.
  119.  
  120. o    Many rights options to determine whether a menu item is usable by a user.
  121.  
  122. o    Works great with NetWare and any other network operating system.  Also
  123.      works well as a stand-alone system.
  124.  
  125. o    All menu setup tasks handled through one INI file.
  126.  
  127. o    Complete user logging capabilities.
  128.  
  129. o    Complete Software Metering Services for Windows applications.
  130.  
  131. o    Works well in conjunction with our DOS-based product, DOSmenu.
  132.                               MISCELLANEOUS
  133. ══════════════════════════════════════════════════════════════════════════════
  134.  
  135. Requirements
  136. ────────────
  137. WOmenu's only additional requirement is that it needs the Visual Basic 3.0
  138. runtime library, VBRUN300.DLL, in order to run.  If you do not have this file
  139. yet, it may be downloaded from almost any on-line service.  We can also
  140. provide you with this program, if required.
  141.  
  142. Startup Options
  143. ───────────────
  144. WOmenu is normally started by specifying the program file as the Windows
  145. shell.  The first line in your SYSTEM.INI should read 
  146.  
  147.      shell=[path]womenu.exe
  148.  
  149. However, it may be started directly from within Windows.  In this case, the
  150. command should be
  151.  
  152.      [path]womenu.exe
  153.  
  154. Here, quitting WOmenu will not quit Windows.
  155.  
  156. Required Files
  157. ──────────────
  158. The following files are necessary to run WOmenu:
  159.  
  160. WOMENU.EXE     The WOmenu program.
  161.  
  162. WOMENU.INI     The WOmenu INI (menu) file (see WOMENU INI FILE section below).
  163.  
  164. THREED.VBX     A Visual Basic library file for WOmenu.
  165.  
  166. CMDIALOG.VBX   Another Visual Basic library file for WOmenu.
  167.  
  168. VBRUN300.DLL   The main Visual Basic runtime library.
  169.  
  170. Optional Files
  171. ──────────────
  172. WOMENUUH.INI   The optional administrator-defined main user help screen (see
  173.                USER HELP INI FILE section below).
  174.  
  175. WOMENU.LOG     (You choose name) If logging is enabled, this file is appended
  176.                every time a user performs a menu action.  Included statistics
  177.                are:  user name, node address, server name, date, time, and
  178.                menu action.
  179.  
  180. WOMENU.MTR     (You choose name) If metering is enabled, this is the central
  181.                file where the metering information is kept.
  182.  
  183. *.DMM          Optional user list files for metered applications.
  184.  
  185. WOCALC.EXE     A calculator utility that works with the keyboard as well as a
  186.                mouse (registered version only).
  187.  
  188. WOCAL.EXE      A calendar utility that easily works with the keyboard as well
  189.                as a mouse (registered version only).
  190.  
  191. WOVIEW.EXE     A file viewer with a simple interface that works with the
  192.                keyboard as well as a mouse (registered version only).
  193.  
  194. WOMETER.EXE    A Windows real-time Meter Viewer/Reset utility.
  195.                                QUICK START
  196. ══════════════════════════════════════════════════════════════════════════════
  197.  
  198. To quickly get the menu system up and running, do the following (check the
  199. documentation later for specifics):
  200.  
  201. o    Copy all WOmenu files to your Windows directory.  This directory is
  202.      normally C:\WINDOWS on a stand-alone system and F:\WINDOWS on a network
  203.      system.  To use WOmenu for all of your users, copy it to the Windows
  204.      network directory.
  205.      WOMENU.EXE
  206.      WOMETER.EXE
  207.      CMDIALOG.VBX
  208.      THREED.VBX
  209.     (VBRUN300.DLL must also be in the \WINDOWS or \WINDOWS\SYSTEM directory)
  210.  
  211. o    If not already running Windows, run it.
  212.  
  213. o    Run 'WOMENU.EXE' from the Windows directory.  This first run will make a
  214.      default WOMENU.INI file in the same Windows directory.
  215.  
  216. That's all there is to it.  You now have an operating menu system.  You may
  217. use WOmenu to change your menu items and sub-menus as you desire.  After you
  218. get the menu the way you want it (especially if you administer a network) you
  219. will want to change some of the default setup options in the INI file and add
  220. appropriate rights to the menu item lines so as to lock your users and protect
  221. your network.  See the WOMENU INI FILE below for help in this area.
  222.  
  223. If you plan to run in a network multi-user environment, then check these
  224. sections out also:  DOS PROGRAM PIF FILES and USERS WINDOWS ENVIRONMENT.
  225.                                  COMMANDS
  226. ══════════════════════════════════════════════════════════════════════════════
  227.  
  228. EDIT      Allows editing of the highlighted menu item or sub-menu item.  Edit
  229.           fills in all parts of a menu item or sub-menu item except for the
  230.           item's menu rights.  See MENU RIGHTS section below.  This command is
  231.           not available in multi-user mode.
  232.  
  233. MOVE      Allows moving of the highlighted menu item or sub-menu item within
  234.           the same menu.  This command is not available in multi-user mode.
  235.  
  236. INSERT    Allows the insertion of a new menu item or sub-menu item.  This
  237.           command is not available in multi-user mode.
  238.  
  239. DELETE    Allows the deletion of the highlighted menu item or sub-menu item.
  240.           This command is not available in multi-user mode.
  241.  
  242. HELP      Brings up a context sensitive help screen.
  243.  
  244. QUIT      Quits the menu system.  If it was used as the Windows Shell, it will
  245.           first check that all programs have been quit and then it will quit
  246.           Windows as well.
  247.  
  248. F5        Refreshes (rereads) the INI file and repaints the menu form.
  249.  
  250. Ctrl-F5   Toggles the Multi-User mode.  This command can be password-
  251.           protected.  It is useful when the system is in Multi-User mode and
  252.           the administrator needs to change it.
  253.                              WOMENU INI FILE
  254. ══════════════════════════════════════════════════════════════════════════════
  255.  
  256. WOmenu has one setup file, the INI file (which is the actual menu file).  This
  257. section explains the INI file specifics.
  258.  
  259. SETUP
  260. ═════
  261.  
  262. [Windows Office Menu Setup]
  263. ───────────────────────────
  264. This section deals with setup specifics.  The actual menus are kept in the
  265. remaining sections of the INI file.
  266.  
  267. Multi-User=
  268. ───────────
  269. Default:  no.  This is the switch that determines whether WOmenu operates as a
  270. simple editable menu system for single users or as an overall system where
  271. editing is not allowed and all menu items can be determined through menu
  272. rights.
  273.  
  274. AdminPassword=
  275. ──────────────
  276. Default:  {nothing}.  Place a password here to inhibit the Ctrl-F5 Multi-User
  277. toggle, which is useful for the administrator to have access to changing the
  278. menu even if it is in Multi-User mode.
  279.  
  280. MainMenuTitle=
  281. ──────────────
  282. Default:  Windows Office Menu.  This determines which section WOmenu uses to
  283. define its first menu screen.
  284.  
  285. UserVar=
  286. ────────
  287. Default:  {nothing}.  This is the DOS variable name (set in the login script)
  288. that holds the user login name, like UserVar=userid.  It is only required if
  289. you plan to use the User right (see MENU RIGHTS section below).  See DOS
  290. ENVIRONMENT VARIABLES section below for how to define this variable.
  291.  
  292. ServerVar=
  293. ──────────
  294. Default:  {nothing}.  This is the DOS variable name (set in the login script)
  295. that holds the active server name, like ServerVar=servername.  It is only
  296. required if you plan to use the Server right (see MENU RIGHTS section below).
  297. See DOS ENVIRONMENT VARIABLES section below for how to define this variable.
  298.  
  299. NodeVar=
  300. ────────
  301. Default:  {nothing}.  This is the DOS variable name (set in the login script)
  302. that holds the user workstation address, like NodeVar=nodeaddr.  It is only
  303. required if you plan to use the Node right (see MENU RIGHTS) section below).
  304. See DOS ENVIRONMENT VARIABLES section below for how to define this variable.
  305.  
  306. DoLog=
  307. ──────
  308. Default:  no.  Enter 'yes' here to turn on user activity logging.
  309.  
  310. LogFile=
  311. ────────
  312. Default:  {nothing}.  Enter the name of the log file to use here, like
  313. LogFile=f:\share\womenu.log.  Users must have 'write' access to this file in
  314. order for logging to work on a network.  The log function logs menu start,
  315. menu end, and all program starts.  The user's login name (if defined), server
  316. (if defined), node address (if defined), date, and time name are all entered
  317. into the log file.  You may wish to periodically erase or archive this file
  318. because it can get quite large after a while if you have many users.
  319.  
  320. DoMeter=
  321. ────────
  322. Default:  no.  Enter 'yes' here to turn on software metering.
  323.  
  324. MeterFile=
  325. ──────────
  326. Default:  {nothing}.  Enter the name of the meter file to use here, like
  327. MeterFile=f:\share\womenu.mtr.  Users must have 'write' and 'erase' access to
  328. this file in order for metering to work on a network.  See SOFTWARE METERING
  329. SERVICE section below for specifics on software metering.
  330.  
  331. MeterDirectory=
  332. ───────────────
  333. Default:  {nothing}.  Enter the directory where the *.DMM user list files used
  334. with Software Metering will be kept, like MeterDirectory=f:\share\meters.
  335. Users must have 'write' and 'erase' access to this directory's files in order
  336. for the enhanced user list metering to work on a network.  See SOFTWARE
  337. METERING SERVICE section below for specifics on software metering.
  338.  
  339. MaxRunning=
  340. ───────────
  341. Default:  0.  The optional maximum number of items the users can run at one
  342. time.  Enter 0 for no limits.  Use this function if you wish to restrict how
  343. many programs can be run at once, perhaps for memory reasons.
  344.  
  345. Note=
  346. ─────
  347. Default:  Welcome to Windows Office Menu.  Enter a note here (of approximately
  348. 120-140 characters maximum) if you want your users to see one when they first
  349. start the menu system.  After the first user sees this note, a hidden date
  350. will be appended to the end of it so WOmenu can figure how to not show it on
  351. the following days.  That way you do not have to remember to delete the note.
  352. If you enter a note the night before and then view it by running WOmenu, be
  353. sure to go into the WOMENU.INI file afterwards and change the date at the end
  354. of the note to the next day.  If you wish to show a note for several days,
  355. enter a date in the future.  The format is like:
  356.  
  357. Note=note text.|||DD-MM
  358.  
  359.  
  360. MENUS
  361. ═════
  362.  
  363. [sub-menu titles]
  364. ─────────────────
  365. These section headings define the sub-menus used in the menu system.  The
  366. first one is [Windows Office Menu] by default.
  367.  
  368. Pgm#= {Pgm1, Pgm2, Pgm3, etc. up to the maximum of 15 per section}
  369. ─────
  370. These entries hold all information for each menu item or sub-menu item.  The
  371. numbers define only the order of items on the menu.  In Multi-User mode, only
  372. the items that pass the 'rights' tests will be actually be shown.
  373.  
  374. The information is separated by commas, so do not use commas in your
  375. descriptions.  Here are the sections:
  376.  
  377. Title, Wintitle, Description, Program, Workdir, Rights
  378.  
  379. Title
  380. ─────
  381. The item's button text, like '&WordPerfect'.  Use the & character to
  382. underscore a letter for a hotkey, if desired.
  383.  
  384. Wintitle
  385. ────────
  386. IMPORTANT:  The actual name of the program's Windows title.  You may have to
  387. run a program it check this one time.  Do not add any dynamically appended
  388. text here.  For instance, Notepad's Windows title in version 3.1 is 'Notepad'.
  389. But after loading a program, it becomes 'Notepad - [filename]'.  Make sure
  390. only to add the 'Notepad' part here.  Case is not significant.  Another
  391. example:  for Winword, use 'Microsoft Word'.  For PIF files, you will decide
  392. yourself what that Windows title will be -- just place it here as well.
  393.  
  394. Description
  395. ───────────
  396. The item's optional description text, like 'A word processor'.
  397.  
  398. Program
  399. ───────
  400. The item's executable call to Windows and/or DOS, like 'f:\apps\wp\wp.exe'.
  401. This could be a PIF file or batch file as well.
  402.  
  403. Workdir
  404. ───────
  405. The item's optional work directory, like 'h:\'.
  406.  
  407. Rights
  408. ──────
  409. The item's optional rights to determine whether the user will get this item on
  410. their menu, like '{d=f:\apps\wp}'.  See the MENU RIGHTS section for specifics
  411. on this powerful feature.
  412.  
  413.  
  414. SUB-MENU TITLES
  415. ═══════════════
  416.  
  417. Sub-menu titles are annotated slightly differently than normal menu items for
  418. program.  Where '&WordPerfect' may define a menu item, '< &Word Processing >'
  419. would define a sub-menu (and subsequent new section '[Word Processing]').
  420. WOmenu takes care of this for you, but if you decide to edit your menu file
  421. manually, take this into consideration.
  422.  
  423.  
  424. NOTES
  425. ═════
  426.  
  427. Not all sections must be filled out.  Although the title and program section
  428. is always required for a menu item, only the title section is required for a
  429. sub-menu item.  Just be sure that commas remain to identify which section text
  430. belongs to, like:
  431.  
  432. ;─────
  433. Pgm1=&Lotus 1-2-3,LOTUS 1-2-3,,123
  434. ;─────
  435. This is enough to run 123 if it exists and can be found in the path.
  436.                               USER HELP INI FILE
  437. ══════════════════════════════════════════════════════════════════════════════
  438.  
  439. The administrator can opt to have a home-grown main help screen (the one that
  440. appears when the user presses F1 at a menu or sub-menu screen).
  441.  
  442. WOmenu creates a file called WOMENUUH.INI (UH is for User Help) in its
  443. directory the forst time it is run.  This INI file is a shell that allows
  444. input of up to 14 help lines of 48 characters or less each.
  445.  
  446. When a user presses F1 for help at a menu screen, WOmenu checks to see if at
  447. least the first or second line of this file (1= or 2=) is filled out.  If so,
  448. then this data is used to fill in the help screen.  If not, the normal
  449. built-in help screen is shown.
  450.                                MENU RIGHTS
  451. ══════════════════════════════════════════════════════════════════════════════
  452.  
  453. A powerful means of segregating the menu file between users is by applying the
  454. 'rights' feature in Multi-User mode.  We can decide what items should actually
  455. appear on a user's menu by defining certain rights for some or all of the
  456. items listed in the INI file.  You must manually add these rights into the
  457. menu file, preferably after you have made it the way you want it to be with
  458. the Edit, Move, Insert, and Delete commands.  Let's discuss each right.
  459.  
  460. All rights assumed
  461. ─────────────────-
  462. Right = no rights entered.  This method is the quickest and least secure way
  463. of checking users rights because it checks nothing.  In other words, a menu
  464. item will show up on a user's menu, period.  Here, you will be relying on your
  465. defined network rights to determine whether a user will be able to _run_ an
  466. item or not (they will see them on their menu).
  467.  
  468. ;─────
  469. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\,
  470. ;─────
  471. User gets item if it is available, period, because the final section is empty.
  472.  
  473.  
  474. Directory rights
  475. ────────────────
  476. Right = {d=directory name or d=directory name1,directory name2 ..}.  WOmenu
  477. will look to see if any of the listed directories exist when it reads the menu
  478. file, and if none of them do, it will not place the item on the user's menu.
  479.  
  480. ;─────
  481. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {d=f:\apps\editor}
  482. ;─────
  483. User gets item only if F:\APPS\EDITOR is 'visible' in the user's environment.
  484.  
  485.  
  486. File rights
  487. ───────────
  488. Right = {f=file name or f=file name1,file name2 ..}.  WOmenu will look to see
  489. if any of the listed files exist for the user when it reads the menu file, and
  490. if none of them do, it will not place the item on the user's menu.
  491.  
  492. ;─────
  493. Pgm1=&Notepad, NOTEPAD, Win Notepad, notepad, h:\, {f=f:\windows\notepad.exe}
  494. ;─────
  495. User gets item only if F:\WINDOWS\NOTEPAD.EXE is 'visible' in the user's
  496. environment.
  497.  
  498.  
  499. User rights (uses UserVar definition)
  500. ───────────
  501. Right = {u=user_id or u=user_id1,user_id2 ..}.  This method takes the
  502. discrimination down to the actual user id running the system.  If the user
  503. name is in the list, then the user gets the item on their menu (if any other
  504. specified rights are also approved).
  505.  
  506. ;─────
  507. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {u=joeb}
  508. ;─────
  509. User gets item only if his user logon ID is JOEB.
  510.  
  511.  
  512. Server rights (uses ServerVar definition)
  513. ─────────────
  514. Right = {s=server_name1 or s=server_name1,server_name2 ..}.  Here, by placing
  515. one or more server names with a menu item, you are saying only show this item
  516. when the user is logged into one of those servers.
  517.  
  518. ;─────
  519. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {s=main_server}
  520. ;─────
  521. User gets item only if the user is logged into and running on MAIN_SERVER.
  522.  
  523.  
  524. Node rights (uses NodeVar definition)
  525. ───────────
  526. Right = {n=node_address or n=node_address1, node_address2 ..}.  This method
  527. takes the discrimination down to the actual user's workstation.  If the node
  528. address is the same as that of the workstation, then the user gets the item
  529. on their menu (if any other specified rights are also approved).
  530.  
  531. ;─────
  532. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {n=fa164505}
  533. ;─────
  534. User gets item only if his work station's address is FA164505.
  535.  
  536.  
  537. Environment rights
  538. ──────────────────
  539. Right = {e=dos_env_var~env_var_text, ..}.  This right tests for the contents
  540. of a DOS variable.  For instance, to run a menu item depending on what room a
  541. person is in, set ROOM=room_number at login; then enter this right for the
  542. menu item in the menu file:  {e=room~102}  to test for room 102.
  543.  
  544. ;─────
  545. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {e=room~102}
  546. ;─────
  547.  
  548.  
  549. Software metering rights (not really a 'right')
  550. ────────────────────────
  551. Right = {m=command[:number]}.  Entering this rule on an item's right line will
  552. force the command for the item to be metered, if metering is turned on and the
  553. meter file has been defined (within WOMENU.INI).  Please see the SOFTWARE
  554. METERING SERVICE section for a complete discussion of this capability.
  555.  
  556. ;─────
  557. Pgm1=&Word,MICROSOFT WORD,Microsoft Word,winword.exe,h:\,{m=winword:25}
  558. ;─────
  559. This item will run as long as less than 25 other users are running it.
  560.  
  561.  
  562. Password rights (not really a 'right')
  563. ───────────────
  564. Right = {p=password where password is any alphanumeric, non-case sensitive,
  565. phrase}.  Placing a password on a menu item means that when the user selects
  566. this item, the user will be prompted for the correct password.
  567.  
  568. ;─────
  569. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {p=restrict}
  570. ;─────
  571. User gets item only if he or she can answer the password prompt with RESTRICT.
  572.  
  573.  
  574. Question rights (not really a 'right')
  575. ───────────────
  576. Right = {q=your question that demands a yes/no answer?}  This method simply
  577. pops up a question and asks for a Yes or No answer.  If no, it will not run.
  578.  
  579. ;─────
  580. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, h:\, {q=Are you sure?}
  581. ;─────
  582. Will only run if the user answers Yes.
  583.  
  584.  
  585. Group rights (how to 'fake' this right)
  586. ────────────
  587. Right = no such right; use directory rights instead.  WOmenu was built to be
  588. generic as far as networks are concerned.  Therefore, the networks 'groups'
  589. are not used.  Instead, we suggest (and use ourselves) a method that actually
  590. invokes the directory right method.
  591.  
  592. Let's say you only want users who are a member of group WP or a member of
  593. group WORD_PROCESS to be able to run WordPerfect.  Within SYSCON or NETCON
  594. (for NetWare networks), you should give each of these groups a trustee
  595. right assignment to a directory called, let's say, F:\FLAGS\WP.  Read/file
  596. scan is enough to 'see' the directory.
  597.  
  598. Then, in the user's INI (menu) file, define the following right:
  599.  
  600. Pgm1=&WordPerfect, WORDPERFECT FOR WINDOWS, A wordprocessor, ...
  601.      ... f:\apps\wp\wp, h:\, {d=f:\flags\wp}
  602.  
  603. which in effect will perform the same function as checking for a member of a
  604. group, because only those users who _are_ a member of one of the above sample
  605. groups will be able to see this directory.
  606.  
  607.  
  608. NOTES
  609. ═════
  610.  
  611. More than one of the above methods may be used at one time, either within the
  612. same right grouping or by having two or more groupings.  For example, you can
  613. place both a server (s=) and a group (u=) method on the same menu item, like:
  614.  
  615. ;─────
  616. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, {u=joeb}{s=server1}
  617. ;─────
  618. Here, it is read as user joeb _AND_ on server1.
  619.  
  620. or by using the OR ';' such as 
  621.  
  622. ;─────
  623. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, {u=joeb;s=server1}
  624. ;─────
  625. Here, it is read as user joeb _OR_ on server1.
  626.  
  627. Note that when using more than one grouping {}, each of the groupings must be
  628. true for the item to be shown (they are ANDed).  When using one or more
  629. methods within the same group, they are ORed.
  630.  
  631. Placing a '!' before a name means 'not'.  Where {u=joeb} means if the current
  632. user is joeb, then display the menu item; {u=!joeb} means display the item
  633. only if the current user is NOT joeb.
  634.  
  635. The biggest rule that you must remember about the rights methods are that
  636. within each set of braces {}, the answer must be true.  So if you use more
  637. than one set of braces for a menu item, they all must be true.  For example:
  638.  
  639. ;─────
  640. Pgm1=&Notepad, NOTEPAD, Windows Notepad, notepad, ...
  641.      ... {d=f:\apps\wp}{u=joe,jim;n=fa164505}{s=!server2}
  642. ;─────
  643. will only show if the user can 'see' directory F\APPS\WP _AND_ the user is JOE
  644. _OR_ JIM _OR_ the node address is FA164505 _AND_ the user is not on SERVER2.
  645.                         USERS WINDOWS ENVIRONMENT
  646. ══════════════════════════════════════════════════════════════════════════════
  647.  
  648. The WOmenu system can make your users' Windows environment a simple one that
  649. is very easy to maintain.  We'll explain our setup as an example.
  650.  
  651. o    We set up Windows as a network install in F:\WINDOWS.  We ran one user
  652.      SETUP from the Windows directory to get the default WIN.INI and
  653.      SYSTEM.INI files.  We changed the shell defined in SYSTEM.INI to
  654.      WOMENU.EXE.  Then we copied the necessary files to our own SETUP
  655.      directory under F:\WINDOWS.  These files, surprisingly enough, consisted
  656.      of only the following files:
  657.  
  658.      WIN.COM
  659.      WIN.INI
  660.      SYSTEM.INI
  661.  
  662.      Note that no Program Manager files are needed at all.
  663.  
  664. o    For each DOS program our users may run through their menu definitions, we
  665.      defined a PIF file.  Our defined items in the INI (menu) file point to
  666.      these PIF files on the Pgm#= lines.
  667.  
  668. o    To set up a user, we add them to a WINDOWS group in Syscon, make a
  669.      directory under their private directory called WINDOWS, and copy the
  670.      above listed files into that directory.
  671.  
  672. o    Our users run mostly DOS PIF-defined programs and have no need for a
  673.      mouse.  WOmenu runs and handles nicely without one.
  674.  
  675. That's all there is to it.  Easy and quick to add/delete users from the menu
  676. setup.   And we have security while providing our users with multi-tasking.
  677.                         DOS ENVIRONMENT VARIABLES
  678. ══════════════════════════════════════════════════════════════════════════════
  679.  
  680. WOmenu uses up to three DOS variables to tell the system about your
  681. environment; user ID, server name and workstation node address.
  682.  
  683. In the case of NetWare, you define and load this DOS variable once during the
  684. user login script with the correct information.
  685.  
  686.      DOS SET USERID="%LOGIN_NAME"
  687.  
  688. where userid can be called anything you wish.  You could then add this name
  689. to various rights as desired.  Womenu takes care of the rest.
  690.  
  691. If you plan on using server name rights, then you would set up the server name
  692. variable in a similar manner.  For NetWare,
  693.  
  694.      DOS SET SERVER="%FILE_SERVER"
  695.  
  696. place the above line in the users login script.
  697.  
  698. The node address variable is needed if you intend to restrict any menu items
  699. by comparing a work station's node address.  In a Novell network, you could
  700. define this variable like:
  701.  
  702.      DOS SET _NODE="%P_STATION"<<4
  703.  
  704. where the <<4 takes the first 4 numbers away from the actual twelve digit
  705. address.
  706.                           DOS PROGRAM PIF FILES
  707. ══════════════════════════════════════════════════════════════════════════════
  708.  
  709. When placing DOS programs on a user's menu system, through their INI (menu)
  710. file, there are a few cautions and guidelines we have learned and would like
  711. to pass on to you.  they are all optional but make a lot of sense toward
  712. keeping the menu usable and secure.
  713.  
  714. o    Make sure the entry for the "Window Title" is the same as the entry you
  715.      will place in the INI file on the Pgm#= line.  In this way, WOmenu will
  716.      easily be able to find this program's DOS window when trying to determine
  717.      if the user has already run the program once or not.  (WOmenu attempts to
  718.      allow users only one run of each program on their menu.)
  719.  
  720. o    Recommend setting the option "Full Screen" to on.
  721.  
  722. o    Recommend setting the option "Background" to on.
  723.  
  724. o    Recommend locking out all "Shortcut Keys" except Alt-Tab (which is needed
  725.      to switch between programs and back to the menu window).
  726.  
  727.                         SOFTWARE METERING SERVICE
  728. ══════════════════════════════════════════════════════════════════════════════
  729.  
  730. WOmenu includes a powerful capability called software metering which enables
  731. you to control the number of simultaneous run instances of an application.
  732. For instance, if you have bought 25 licenses for Microsoft Word, you now have
  733. the means to insure that only 25 copies are run at one time from with the menu
  734. system on your network.
  735.  
  736. There are more expensive and perhaps more foolproof offerings on the market
  737. for this service, but WOmenu does the job simply and easily.  And we believe
  738. that an administrator's effort level in attempting to control software
  739. licensing is at least 95% of any large distributor's concerns.
  740.  
  741. Here is how you set up metering:
  742.  
  743. 1.  Place these commands in WOMENU.INI under [Windows Office Menu Setup]:
  744.  
  745. DoMeter=yes
  746. MeterFile=f:\share\womenu.mtr (or something like that)
  747. MeterDirectory=f:\share\meters (or something like that) {this is optional}
  748.  
  749. (Note:  If MeterDirectory is defined, then UserVar and NodeVar must also be
  750. defined.  See WOMENU INI FILE for instructions.)
  751.  
  752. Users must have WRITE and ERASE rights to the above area(s).
  753.  
  754. 2.  Place the meter right on those commands you want metered, for example:
  755.  
  756. ;─────
  757. Pgm1=&Word,MICROSOFT WORD,Windows word processing, ...
  758.      ... f:\apps\word\winword.exe,h:\,{m=word:25}
  759. ;─────
  760.  
  761. will meter the use of F:\APPS\WORD\WINWORD.EXE for all accesses from WOmenu.
  762. If 25 instances are already in use (in this example), then WOmenu will
  763. instruct the user that the maximum licenses are in use and to try again later.
  764.  
  765. The syntax is important.  The application keyword, in this case WORD, may be
  766. 10 or less characters with no spaces, followed by an immediate colon ':',
  767. followed by an immediate number from 1 to 999 (with no spaces) -or- if no
  768. :number is entered, then 999 is assumed (good for counting accesses only).
  769.  
  770. These both work:
  771. {m=word:25} ;limit 25
  772. {m=word}    ;no limit
  773.  
  774. Of course anyone accessing WINWORD.EXE from outside of the menu system will
  775. not be metered in this way.  See the WOMETER METERING UTILITY section to find
  776. out how to meter DOS software runs from outside the menu system.  Also, if you
  777. call the application from more than one menu item in your menu file, make sure
  778. you place the same meter rights for each item.
  779.  
  780. The MeterDirectory entry, which is optional, allows WOmenu to keep track not
  781. only of how many users are in an application, but also who those users are and
  782. their node address.  These 'live' user lists are kept in the defined
  783. directory.  FOR THIS FEATURE TO WORK, YOU MUST GRAB THE MENU USER'S NAME AND
  784. NODE ADDRESS (read WOMENU INI FILE section for instructions on how to do
  785. this).
  786.  
  787. Note: RECOMMEND DELETING METER FILES PERIODICALLY/NIGHTLY...
  788. If any user locks up while in a metered application, or gets rebooted at that
  789. point, then the meter count for that app will remain off by one (it will show
  790. one greater than actual).  For this reason, we recommend deleting the defined
  791. main meter file (and the user list *.DMM meter files, if used) periodically,
  792. perhaps at night before or after your backup.  See WOMETER WINDOWS METERING
  793. UTILITY section for how to do this automatically.
  794.  
  795. Be careful when viewing your meter file.  The recommended way to view it is
  796. with WOmeter (see below).
  797.                     WOMETER WINDOWS METERING UTILITY
  798. ══════════════════════════════════════════════════════════════════════════════
  799.  
  800. This utility can optionally monitor your software usage from outside of the
  801. menu system but from within Windows.  All of your users' programs can be
  802. reliably monitored for metering.
  803.  
  804. There are no command line parameters; just run:
  805.  
  806.      WOMETER
  807.  
  808. WOMETER.EXE will attempt to find the meter file's name in its WOMETER.INI
  809. file.  If it does not, it will make this file in its home directory and then
  810. you can fill in the name of the meter file, like:
  811.  
  812. [Setup]
  813. MeterFile=c:\windows\womenu.mtr (or something like that)
  814. MeterDirectory=c:\windows\meters (or something like that) {this is optional}
  815.  
  816. (Note:  If MeterDirectory is defined, then UserVar and NodeVar must also be
  817. defined.  See WOMENU INI FILE for instructions.)
  818.  
  819. WOmeter allows real-time reseting of specific metered applications, in case
  820. the count has gone astray (perhaps from user lockups, etc.).
  821.  
  822. You may also set up WOmeter to automatically erase your meter file(s) on a
  823. daily basis at a specified time.  The default is 00:01 (one minute after
  824. midnight).
  825.  
  826. You may also define the length of time WOmeter waits between re-reads of the
  827. meter file (between 10 and 60 seconds).
  828.  
  829. If you also use our DOS-based menu product, DOSmenu, WOmenu can easily work
  830. in concert with it for both meter files and log files.  Simply point the name
  831. and location of these files to the same files delineated in the DOSmenu INI
  832. file.  Then you will have a complete picture of your user activities on your
  833. network.
  834.                            DOSMENU MENU SYSTEM
  835. ══════════════════════════════════════════════════════════════════════════════
  836.  
  837. We have another product called DOSmenu that is a network menuing system as
  838. well.  However, DOSmenu works from DOS.  It is a very popular product that
  839. can work nicely in conjunction with WOmenu.  If you are interested in this
  840. product, please contact us.  If you wish to try it first, it is available from
  841. Compuserve in the shareware form.  Look in the NOVUSERS/New Uploads forum for
  842. the file DOSMNU.EXE.  It is also available on many BBS's.
  843.                                 SHAREWARE
  844. ══════════════════════════════════════════════════════════════════════════════
  845.  
  846. Evaluation Copy
  847. ───────────────
  848. THIS IS NOT FREE SOFTWARE!  You may evaluate and use this product, but if you
  849. decide to make use of it on a regular basis, you must register your copy.
  850.  
  851. Note:  Businesses, government agencies and institutions are required to
  852. register this software package before extended use.
  853.  
  854. We offer several inducements to you for registering.  First of all, you will
  855. receive the most up-to-date copy of the program -- and we update the program
  856. on a regular basis.  Second, we have additional mini-utilities that work
  857. nicely with WOmenu not included in this package that we will ship to you upon
  858. registration.  Third, you will never see the shareware message again.  Make no
  859. mistake, however -- this is a fully functional version of WOmenu that is not
  860. "crippled" in any way.
  861.  
  862. Distribution
  863. ────────────
  864. This is "user-supported" software.  You are hereby granted permission to
  865. distribute this evaluation copy of WOmenu and its documentation, subject to
  866. the following conditions:
  867.  
  868. 1.  Shareware WOmenu may be distributed freely without charge in evaluation
  869.     form only.  The original PKZIP self-extracting file, WOMNU.EXE, is the
  870.     preferred method.
  871.  
  872. 2.  WOmenu in its shareware form may not be sold, licensed, or a fee charged
  873.     for its use.  If a fee is charged in connection with WOmenu, it must cover
  874.     the cost of copying or dissemination only.  Such charges must be clearly
  875.     identified as such by the originating party.  Under no circumstances may
  876.     the purchaser be given the impression that he is buying a registered
  877.     version of WOmenu.
  878.  
  879. 3.  Shareware WOmenu must be presented as a complete unit with documentation.
  880.     Neither WOmenu nor its documentation may be amended or altered in any way
  881.     without permission of the copyright holder.
  882.  
  883. 4.  By granting you the right to distribute the evaluation form of WOmenu, you
  884.     do not become the owner of WOmenu in any form.
  885.  
  886. Any other use, distribution or representation of WOmenu is expressly forbidden
  887. without written consent from the copyright holder.
  888.  
  889. Registration
  890. ────────────
  891. The non-commercial single-user registration fee for WOmenu is $40.00 US.  
  892. ($5 shipping is included.)
  893.  
  894. The commercial/government and multi-system site fee for WOmenu is:
  895.  
  896.      Non-network environment:
  897.           Per machine        -  $35.00 US.
  898.      Network environment:
  899.           Per server         - $160.00 US.
  900. ($10 shipping is included.)
  901.  
  902. Send a check, money order or company P.O. for the appropriate amount to:
  903.  
  904.           Bremer Corporation -WOmenu
  905.           3401 Cactus Wren Way
  906.           Austin, Texas 78746
  907.  
  908. Thank you.
  909.  
  910. Telephone: 512-328-2465
  911. CompuServe ID: 71614,2556
  912.  
  913. See ORDER.TXT for a ready-made ordering form.
  914.  
  915. Disclaimer
  916. ──────────
  917. The author does not warrant that the functions contained in this program will
  918. meet your requirements or that the program operation will be uninterrupted or
  919. error free.
  920.  
  921. The author specifically disclaims all other warranties, expressed or implied,
  922. including but not limited to implied warranties of fitness for any particular
  923. purpose and of merchantability.
  924.  
  925. In no event will the author be liable to you for any damages, including but
  926. not limited to any lost profits, lost savings, commercial damage or other
  927. incidental or consequential damages arising out of the use or inability to use
  928. this program, or for any claim by any other party.
  929.  
  930. Trademarks
  931. ──────────
  932. Trademarks of companies or products mentioned in WOmenu documentation files
  933. are the property of their respective companies.
  934.