home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / lnchhk.zip / LAUNCHHK.DOC < prev    next >
Text File  |  1996-07-23  |  5KB  |  119 lines

  1. LaunchHook Plus, Version 1.9
  2. Copyright International Business Machines Corporation 1996.
  3. All rights reserved.
  4.  
  5.      Usage: launchhk <options>
  6.  
  7.      Options:
  8.               [PAD:<borders-1>]
  9.               [TASK:<borders-2>]
  10.               [DELAY:<milliseconds> [MARGIN:<percentage>]]
  11.               [NODBLCLICK]
  12.  
  13.         PAD: Activate LaunchPad on these borders
  14.         TASK: Activate TaskList on these borders
  15.          <borders-n> can contain one or more of these flags:
  16.            b: Activate item at bottom border
  17.            t: Activate item at top border
  18.            l: Activate item at left border
  19.            r: Activate item at right border
  20.            1: Activate item at bottom left corner
  21.            2: Activate item at top left corner
  22.            3: Activate item at top right corner
  23.            4: Activate item at bottom right corner
  24.            m: move item to pointer location when border pushed.
  25.  
  26.         DELAY: Amount of time pointer must remain at border
  27.                in order to activate item (in milliseconds)
  28.  
  29.         MARGIN: 'Active margin' near border to activate item
  30.                 Pointer must remain within this area during
  31.                 delay period to activate item (details below).
  32.  
  33.         NODBLCLICK: This will ignore any mouse button 1 double clicks
  34.                     sent to the LaunchPad.
  35.  
  36.      No spaces should be placed in options.
  37.      All parameters are case insensitive.
  38.      Run launchhk once to activate hook. Run again to deactivate.
  39.  
  40.      EXAMPLES OF USAGE:
  41.  
  42.      1.Command: launchhk PAD:b
  43.  
  44.        Result: If the pointer is pushed against the bottom desktop border,
  45.                the LaunchPad will be brought to the foreground immediately.
  46.  
  47.      2.Command: launchhk pad:btlr delay:400
  48.  
  49.        Result: If the pointer is pushed against the bottom, top, left, or
  50.        right border, it must remain there for 400 milliseconds (.4 seconds)
  51.        in order to activate the LaunchPad.  The possible problem with
  52.        this is, often, when you push the pointer against a border,
  53.        it does not remain pushed up against the border due to a slight
  54.        unintentional mouse movement.  This is where the MARGIN parameter
  55.        becomes useful.
  56.  
  57.      3.Command: launchhk TASK:b DELAY:400 margin:5
  58.  
  59.        Result: If the pointer is pushed against the bottom border,
  60.        after a .4 second delay, if it is still within the border margin,
  61.        the Task List will be brought to the foreground.  The '5' means
  62.        5 percent of the screen height for top and bottom borders and
  63.        5 percent of the screen width for left and right borders.
  64.        So imagine a small "buffer zone" equal to 5 percent of the
  65.        screen height in this case, since we're dealing with the bottom
  66.        border. Once the pointer touches the bottom border, as long as
  67.        it stays within this zone for the delay period, the Task List
  68.        will be activated. MARGIN can only be used with the DELAY option.
  69.  
  70.      4.Command: launchhk PAD:lrm TASK:bm DELAY:400 MARGIN:10
  71.  
  72.        Result: When the left of right border is hit, after a delay
  73.        of .4 seconds, if the pointer is still within the margin
  74.        (which, on a left or right border would be expressed as a
  75.        percentage of the screen width. 10 percent in this case)
  76.        the LaunchPad will be brought to the foreground and moved to
  77.        the current pointer position. For the Task List, if the bottom
  78.        border is hit, after a .4 second delay with the pointer remaining
  79.        in the margin, it will be activated at the current pointer
  80.        position.
  81.  
  82.      5.Command: launchhk PAD:lm TASK:lm
  83.  
  84.        Result: When the left border is hit, both the LaunchPad
  85.        and the Task List will be activated and brought to the
  86.        current pointer position.  The LaunchPad will occupy the
  87.        position closest to the border, and the TaskList would be
  88.        placed next to the LaunchPad, on the side furthest from
  89.        border used to activate the two.
  90.  
  91.  
  92.      6.Command: launchhk PAD:lm TASK:lm NODBLCLICK
  93.  
  94.        Result: Same as 5, but will also ignore button 1 double clicks
  95.        on LaunchPad buttons.  Since icons on the desktop require a double
  96.        click to start, many users are accustomed to double clicking on
  97.        icons on the desktop to start the object. However, on the LaunchPad
  98.        this has the undesired effect of either starting two instances of that
  99.        object, or starting the object but returning focus back to the pad on
  100.        the second click. This option eliminates these problems.
  101.  
  102.      7. Command: launchhk PAD:13
  103.  
  104.         Result: When the pointer is moved to the bottom left corner or
  105.         top right corner, the launchpad will be activated.
  106.  
  107.      8. Command: launchhk PAD:13 DELAY:300 MARGIN:10
  108.  
  109.         Result: When the pointer is moved to the bottom left corner or
  110.         top right corner, and remains in the "margin area" for .3 seconds,
  111.         the launchpad will be activated.  Note that the margin in this
  112.         case actually covers a small square 10 percent of the screen width
  113.         by 10 percent of the screen height in the bottom left and top
  114.         right corners, and the pointer must remain in this square for the
  115.         delay period to activate the pad.
  116.         NOTE: Using either no delay at all, or a very small delay (<100)
  117.         with a good sized margin (10 or so) seems to work best in corners.
  118.  
  119.