WPC  
      a           0   (   ^  0   D     0A   4     0   D     	B      B     p  _     *       %         ɴ        +           U        	%        #             7   E         e           }        
   |      
         
         
         
         
         
         
         
         
         
      	            
         
         
         
         
         
   "      
   ,      
   6      
   @      
   J      
   T      
   ^      
   h      
   r      
   |      
         
         
         
         
         
      	         U   @      	         	         	      ,   	      :   	      H   	      V   	      d   	      r   	         	         	         	         	         	         	         	         	         	         	         	         	      (   	      6   	      D   	      R   	      `   	      n   !   `   G   	      t   	      z   !   `      !   `      !   `   g   !        !   0  g   !        !   0      !   `      !   0   7   !     g   !   `   w  	)            l    "   ?        (                    $           (                  3/;$       
    !    W     (                 S$           (                  3/;$       
    !    W                   d     M e s s a g e                                                   v    L o c a l B u t t o n C o n t r o l                             X    X Y F i l t e r                                                     F i l t e r                                                                                                                                    E A    
                                                            8     
                                                            8     
                                                                 
                                                                 
                                                                 
                                                                 
                                                            v     
                                                            v     
                                                            |     
                                                                 
                                                            n     
                                                            n    O p e n i n g S c r e e n                                       ~     
                                                            ϒ	      - I                                                         t	      - E                                                         F
      - B                                                         	     
                                                            
      - I                                                         Ϫ
      - E                                                               - B                                                              
                                                            4     
                                                            4     
                                                            :     
                                                            b     
                                                                 
                                                            >
     
                                                            8
     
                                                            8
    M a k e B o o k l e t                                           N
     
                                                            ,     
                                                            ,     
                                                                 
                                                                 
                                                            r     
                                                                 
                                                            l     
                                                            
     
                                                                 
                                                                 
                                                                 
                                                                C r e a t e B o o k l e t                                            
                                                            >     
                                                            >     
                                                                 
                                                            	`     
                                                            l     
                                                            	$     
                                                            	     
                                                            	     
                                                            	      
                                                            	     
                                                            	     
                                                                  
                                                            	"     
                                                            	      
                                                            	!     
                                                            N!     
                                                            !     
                                                            x!     
                                                            !     
                                                            !     
                                                            	#     
                                                            	6"     
                                                            	#     
                                                            	$     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            '     
                                                            (     
                                                            z(     
                                                            z(    F o r m a t D l g 4 0 5                                         ϊ(     
                                                            P)     
                                                            (     
                                                            <)     
                                                            P)     
                                                            V)     
                                                            d4     
                                                            	*0     
                                                            b,     
                                                            	P4     
                                                            	*0     
                                                            	P4    P a g e F o r m a t D l g                                       t4     
                                                            4     
                                                            4                                                                  >5                                                                 O                                                                 5                                                                 ^6                                                                 X6                                                                 X6                                                                 6                                                                 6                                                                 6     	                                                            7                                                                 7     
                                                            7                                                                 	:     
                                                            7                                                                 	>                                                                 	:                                                                 	>                                                                 >                                                                 >                                                                 >                                                                 K                                                                  A                                                                 A                                                                 A                                                                 :F                                                                 C                                                                  B                                                                 lC                                                                 &F     "                                                            E     #                                                             D     $                                                            D     !                                                             F     &                                                            F     %                                                            F                                                                 J     (                                                            J     *                                                            jG     )                                                            J     ,                                                            hH     .                                                            TH     -                                                            TH     +                                                            J     0                                                            I     1                                                            XI     2                                                            I     /                                                            J     4                                                            J     6                                                            J     5                                                            J     3                                                            J     '                                                            J                                                                 J                                                                 K     7                                                            ,K     8                                                             O     9                                                            HL     :                                                            N     <                                                            M     >                                                            M     @                                                            M     ?                                                            M     =                                                            M     ;                                                            M     B                                                            N     A                                                            N    F o r m a t D l g 4 0 5 C l o s e                               $O     D                                                            O     E                                                            NO     F                                                            O     C                                                            O     G                                                            O     H                                                            nZ     K                                                            	~V     J                                                             S     I                                                            	ZZ     L                                                            	~V     M                                                            	ZZ    P a p e r S i z e S e t                                         ~Z     O                                                            τZ     P                                                            Z    S u b d i v i d e S e t                                         F_     Q                                                            L_     R                                                            _    O K S e t                                                       c    C r e a t e P a p e r                                           Ϯg     S                                                            ϴg     T                                                            g    P r i n t B o o k l e t                                         ϴh     V                                                            m     X                                                            2k     Z                                                            k     \                                                            j     [                                                            
k     Y                                                            k     W                                                            2k     ^                                                            k     ]                                                            k     `                                                            Fm     b                                                            m     a                                                            2m     _                                                            vm     d                                                            m     c                                                            m     U                                                            Dn    W r o n g F o r m a t                                           Tn     f                                                            o     e                                                            p    P r i n t D l g 4 0 6                                           Ϡp     h                                                            fq     i                                                            q     j                                                            Rq     g                                                            fq     k                                                            lq     l                                                            |     o                                                            	dx     n                                                            t     m                                                            	|     p                                                            	dx     q                                                            	|     t                                                            d}     u                                                            }     v                                                            P}     s                                                            d}     w                                                            j}     x                                                            ̍     {                                                            	     z                                                                 y                                                            	     }                                                            	l     |                                                            	     ~                                                            	l                                                                 	                                                                 Ǝ                                                                 r                                                                                                                                  Ǝ                                                                 ̎                                                                 @                                                                 	T                                                                 ڑ                                                                 	,                                                                 	T                                                                 	,                                                                                                                                                                                                   R                                                                 R                                                                 X                                                                 6                                                                 "                                                                 Ĝ                                                                 f                                                                                                                                  ʜ                                                                 "                                                                                                                                                                                                   @                                                                 @    M a y N e e d G e n e r a t e                                   P                                                                 V                                                                 *                                                                 	*                                                                 ^                                                                 	                                                                 	                                                                 	H                                                                 	                                                                 	                                                                 F                                                                 2                                                                 2                                                                 F    S e n d G                                                       V                                                                                                                                  Ȱ                                                                                                                                                                                                   "                                                                                                                                  	                                                                 d                                                                 	                                                                 	                                                                 	                                                                                                                                  ^                                                                 d                                                                                                                                  	                                                                                                                                  	                                                                 	                                                                 	                                                                                                                                      P r i n t M e n u                                               Ϫ                                                                 π                                                                 	                                                                                                                                  	                                                                 	X                                                                 	D                                                                 	~                                                                 	                                                                 	                                                                 B                                                                 	.                                                                 	                                                                 	                                                                                                                                  	                                                                 	X                                                                 	                                                                 	                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          8    G e n e r a t e                                                 H    P r i n t E r r o r                                                                                                                                                                               D                                                                    X    8 & L o c a l B u t t o n C o n t r o l                                                                B                                                                 B                                                                                                                                                                                                   t                                                                 t                                                                                                                                                                                                                                                                                                                                                                                                      &                                                                                                                                                                                                                                                                                                                                     Z                                                                 Z                                                                                                                                                                                                                                                                    r                                                                                                                                  ^                                                                                                                                  X                                                                                                                                  R                                                                                                                                                                                                                                                                    j                                                                 j                                                                                                                                   .                                                                                                                                       	                                                            j                                                                 &     
                                                            &                                                                                                                                       
                                                            ~                                                                 ~                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            P r i n t E r r o r                                             *                                                                 |                                                                                                                                           F i l t e r                                                                z      - I                                                         \      - E                                                               - B                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       "                                                                 !                                                                                                                                      X Y F i l t e r    #                                                                  - I                                                               - E                                                         @      - B                                                              %                                                            (     $                                                            (                                                                    v    L  M e s s a g e    (                                                            	T     '                                                                 &                                                            	h;    *                                                            	     )                                                            	x     ,                                                            	    +                                                            	     .                                                            	    -                                                            	    0                                                            	x    /                                                            	    2                                                            	X    1                                                            	    4                                                            	|    3                                                            	|    6                                                            		    5                                                            	    8                                                            	
    7                                                            	4	    :                                                            	    9                                                            	
    <                                                            	~
    ;                                                            	*    >                                                            	    =                                                            	
    @                                                            	F    ?                                                            	    B                                                            	D    A                                                            	j    D                                                            	    C                                                            	h    F                                                            	    E                                                            	    H                                                            	~    G                                                            	    J                                                            	p    I                                                            	    L                                                            	\    K                                                            	    N                                                            	    M                                                            	    P                                                            	     O                                                            	@    R                                                            	    Q                                                            	D    T                                                            	    S                                                            	    V                                                            	    U                                                            	    X                                                            	2    W                                                            	    Z                                                            	"    Y                                                            	V    \                                                            	$    [                                                            	#    ^                                                            	'    ]                                                            	$    `                                                            	(    _                                                            	'    b                                                            	,    a                                                            	(    d                                                            	T-    c                                                            	,    f                                                            	-    e                                                            	x-    h                                                            	.    g                                                            	.    j                                                            	1    i                                                            	.    l                                                            	2    k                                                            	<1    n                                                            	|9    m                                                            	:2    o                                                            	|9    p                                                            	h;                                                                   r;                          q      5      5             "            `      f      G i                                        C       @            $            a      a      G       G      V      ]     &      
      K	      K	     J 	      J)	    .	      
 <	       F	      
 b	      k	      o n	      	      	      7	      "	      B 	        	      		      K	      K	    	      k
      ~
      
   
      -
      S      @t      	@    @    @    A      
A    A    
D      A      
A     


      U
      A
      
A
           B3      G            7      u       
            P                        +      1      -7            D       G      	      K-      K5    aF      aL           ,            a      a     (      ] +      	V      6                                                                        "      H      -O      ^            "             	                w
!      
!      ,*      +      ,      	-      	/      	0      qU1      71       1      1       1      	S3      3      J!4      J*4    3 J4      	74       4      4      5       5      7C5      } I5      	 5      5      5      5      	6      :9      vl:      6;      	X;      ;      =      =      =      '=      r>       u>      ?      ?      
.@      X@      j@      p@      4w@      @       @      @      @      -.A      A      OB       RB      7kB      } qB      	 B      B      B      7B       B      G      } G      	G      :N      } O      .W      	8W      -W      X      X       X      X      7<Y       BY      Y      Y      Z      "Z      HZ      gZ      mZ      Z      [      $[      76[      } <[      	 l[      [      [      [      [      } [      	'\      :b      } Db      hi      	Pj       Sj       xj      
 j      j      7j       j      ,m      Mn      @n      n      n      Xo       ]o       no       so       o       o      o      o o       &p      F+p      p      6Or      r      r      r       r       r       r       	s       s       Os      FTs      7s      } s      M,t       rt      Fwt      u      9u      bu       gu       wu       |u       u       u       u       u       u      Fv      v      v      v      v      v      0w      '=w       w      Fw      Qx      Vx      'bx      'nx      x      o x       6y      F;y      vy      y      y      'y       Qz      FVz      7{      } {      M{       {      F{      -|      Z|      _|      |      o |       P}      FU}      }      }      }      }      }      }      }      4~       ~      /~      a~      a     71       7      75       ;      Mz                          \       _       s       w            2      h                         F                        -0            7       :      7S      } Y      	                   7                   }       	      :      }             	      -      \      7p      } v      	 Ğ      ˞      -=      
      7      } $      	             -c      2      -      ٳ      7      "      B               	      e"      	eB   	O  * S  * U  * X    e    x         *   
    
* -            K      K                 "      	            
      u      \                  K      K      ݼ            "       	      k      k      ~   9      	ɽ            K-      K5    wS      
y      ^ |      
'      ^       
t            ^       
'      ^       
 G      
      ߿      ;      p                              6      c      v    9      	            C                  -                        8      #      `      -f      H                   7      }       	 I                  7                   }       	
      :      }             	                    7      }       	             
      7                   }       	      	      }       :%      } d           	     a     a$   %)     1                7     }      	                7                }      	     :     }           	     m      p                              7     .      6     7      *       :      6a      !     !     "     "     "     #     7#     ( $#     J#     6q#     G$     $     $     $     $     %     -%     &     7&      &     6(,     <,     } C,     	k,     	5     } C,     :=     } 4>     :F     	EF     6F     F     F     . F     1G     XG     wG     }G     -G     TH     H      H     7H     } H     	 H     I     
I     7I      I     6N     N     } N     	GN     :V     } W     #_     	-_     6`     7a     . a     6a     Ma      b     Fb     b     73b      9b     6f     f     } f     	f     :n     } 7o     ?w     	mw     w     'x     9x     -x     ly     ,          Ѓ     	     6     	     	     q     q     7      !     E      f     	j          J      J)   2 I     7     } Ƌ     	 6     U     	     :     v     w     	          [     [     $     '9                ҕ     2       p                    4     -     ޗ     g     -0          `               -     q     a;     aA   %F     N     k                \     \Û  
              $          M     7ל     M          +     j     7     }                  L          R     u U     
 `           F     7     u      
1     j     6          w      \_     \h   C     
     =     s     \ǡ     \С         F     FK          m          ̣      ϣ     .      2      I      N          C                                 ݦ     6      :      Q      V     0          E               <     f                     &     \n     \w              F     !     V     'e     't     '     '¬     'Ѭ     '     '     '.     '=           F     Ů          `     ͯ     \A     \J              F
     `          Q               H     f                    #      2               Ҵ     n               H µ     
'е     B ӵ              -     Ͷ     ߶                   -8               \               -                         M     '_          D     b          ɻ          ټ          8     } ;          S     }               -     Ͼ          ʿ                             (      E      a      e                2     -E     T     )&     	D     	Q     	     	d     	
     	     	`     	     	b     	
     	     	     	h     	Y     	     	     	{     	     	     	     	I     	     	X     	     	     	     	Q     	)     	2     	     	)     	     	     	M     	     	     	x     :          	               #  h             8  R  `  f                        0  <  G  V  c  E  N  d    	   	  .	  <	  F	  b	  k	  	  	  	  	  	  	  	  [
  k
  ~
  
  
  S  t    D    

  -
  U
  
     3  G            P        +  1  7    /  D  j      -  F  d      ,      (  V      6  _  }        -  C          ,      t          "  H  O  ^            [   u      
!  !  Y!  !  "  "  #  #  $  $  %  %  %  &  &  l'  Y(  ;)  )  *  *   +  +  ,  _,  x,  ,  -  ).  .  /  0  U1  1  1  1  O2  S3  3  !4  J4  4  4  5  C5  5  5  5  5  6  i7  %8  8  9  l:  :  6;  X;  ;  [<  =  M=  =  r>  >  ??  ?  ?  .@  X@  j@  p@  w@  @  @  @  .A  A  B  $B  OB  kB  B  B  B  B  %C  C  
D  ^D  D  %E  E  F  G  G  H  L  eM  3N  N  N  U  U  #V  V  .W  8W  W  X  X  X  X  X  Y  1Y  <Y  Y  Y  Z  Z  "Z  HZ  gZ  mZ  Z  [  $[  6[  l[  [  [  [  [  [  '\  \  Ha  b  2b  Kh  h  hi  Pj  xj  j  j  j  Ek  k  l  l  l  m  m  n  @n  rn  n  n  Xo  o  &p  p  p  q  Or  r  r  r  Os  s  ,t  rt  t  u  9u  bu  u  iv  v  v  v  v  v  0w  w  w  Qx  Vx  x  6y  vy  y  y  Qz  z  {  {  {  -|  Z|  _|  |  P}  }  }  }  }  }  }  }  ~  /~  ~  1        ΀  5  z      \    @      2  h      0  z        x      0    7  S              M  މ  2    ܊  T  ڋ            D      ֔        j        \  p  Ğ  ˞    \      Z  ٠  a  P      Z  5  =  
            q  Ŧ      4  "    
  `  ;  N  c  2  L      d    D  ֮      o        ٳ        "            E  K    .  %    
  u    \        ݼ    B  k    ɽ      -  S  y      G    ߿  ;  p          6  c        C          .  F      r    8  #  p    `  f  H  r        I        8      s    g        
      C            
                     
      !  x    (              h  3  
    2        %  R  j 5      ) C X           `  @	 	 
   A K         G   m             :  a    b! ! ! ! " " " # # J# q# #  $ G$ $ $ $ $ $ $ % % % % & & H' ' 2( ( ( ) 9* _+ (, <, k, , 2 3 4 5 5 ; < _= = "> -D D 4E E :F EF F F F F G 1G XG wG }G G TH bH wH H H H I 
I I xI J `J J 
K K /L M N N GN N T hU @V V W ] ] ^ ^ #_ -_ ` ` a a a a b b 3b Sb b 2c c c _d d e f f f Ng l m _n n %o %u u &v v ?w mw w w 'x 9x x ly y Jz { { { | | (} } } O~ G G  )   2 & u  Ѓ  A  ҅      E f j    I  6 U   d ׎    w    [  $  <  ҕ   p      ޗ    0   ) = ` y     q ; F k      i    ל   + S j }  ߝ   R   1 j   _   = s ǡ  F   m  ̣ .   C    ݦ 6 Χ 0   E    < f   & n   ! V  Ů  ` ͯ A   `   Q    H f     # g   Ҵ  N n    M  Ͷ ߶     8    % 9 \ u       ع   M    D b  ɻ  ]  ټ  8  ׽  S }    Ͼ   ʿ       2 E T & D Q    	  d  
 5   `    b  
 8    i h  Y   Y   {        I    X        Q  ) 6 2   Y )      M   p   x   z    m< 
  9 p` (      X Q M S   P S   8 1 5   QMSPS815.PRS hhhhhhhh                                                                                                                                                      H    Kd".    
   s  
   /;)     >   '                 
 x         d     >    	       Name:C:\WP60\MACROS\WPCH_CB0.WPM    Q (# Page@
   
 
     
 1
   
 A
   
 Ԁof33   	           October18,1993!
   
      V (# "(   US: !  &  US  ,     (       9:05am!
   
 1 1 0 0   1 2 5 0   1 2 5 3   1 2 5 4   1 2 0 5   5 0 0 0   1 2 1 0   1 2 2 0   1 2 2 0   1 2 3 5   1 2 4 5   @  1 2 3 3   1 2 5 5   1 2 3 0   1 2 2 5   1 2 4 0   1 3 0 3   1 3 0 0   1 3 0 7   1 3 3 0   1 3 4 0   1 3 5 0   1 4 1 5   1 4 0 0   1 4 2 5   1 4 0 5   1 4 0 8   1 4 1 0   1 3 5 0   5 0 0 0   1 3 1 0   1 3 2 0   C1 1 0 0   <   9 p` + ( C o u r i e r - W P     T y p e   1     C1 2 0 5   C1 2 1 0   C1 2 2 0   C1 2 2 5   C1 2 3 0   C1 2 3 3   C1 2 3 5   C1 2 4 0   C1 2 4 5   C1 2 5 0   1 2 5 3   1 2 5 4   C1 2 5 5   C1 3 0 3   1 3 0 5   1 3 0 7   C1 3 1 0   C1 3 2 0   C1 3 3 0   C1 3 4 0   C1 3 5 0   C1 4 0 0   C1 4 0 8   C1 4 1 0   C5 0 0 0   @  @  H@  < 6X  9  ` +   C o u r i e r         <    9   +   C o u r i e r   B o l d       6 2  
p`     S y m b o l         U ''    p`    * I T C   Z a p f   D i n g b a t s          3    p`   4 N e w   C e n t u r y   S c h o o l b o o k         @< 6X   ` #  " W P   B o x D r a w i n g          <   9 p` + ( C o u r i e r - W P     T y p e   1     <   9p` + . W P   B o x D r a w i n g     T y p e   1     A (
   Ap`  $ W P   M a t h A     T y p e   1     <   9 p + 0 C o u r i e r - W P   B o l d   T y p e   1       ? x x x  X    Xx   r 5 d d d  X    d q n 2 ` ` `  X    ` T s 4 d d d  X  / d o
 ~ ) Z 8 Z    f Z ag]{      8   X    (  % T 8 T     T T r 5 d d d  X  #d # u 2 d d d  X  ^d IS	 ] J d d d  X  d 5u	X v 1 l 8 l    l  rT u 2 d d d  X  #d "Choose>  r [BoldOn]?
   
  - - OK - - .";   	 n             0   X *4 #| b  N     " B D O ??=K ' 	            " B D O ??=K ' 	            " B D O ??=K ' 	            " B D O ??=K ' 	             "   h;].8 S  88S\*\*.SSSSSSSSSS..\\\J                           8 8 S                           P!P8M             S                                                          n                                                                                                                                                   ~~~~ \\\w. \ 77\\\w wwwee          C  \. wR)E    r  ee     wwwwI         ee  n     R   \               \    \w                                                                          w           wrrr \S                   RRRR    RRRR                                                          e       @@@    @@@    @@@    @@@xio\  eEfRfIfRxe|W87y\r\`xWlRx\\]\ce IfIs`Wx\rrxifIxe87 7x\s` `r i    gew                              iiiiiiiiiiiiiiiiiiiiiiIIIIIIIeeeeeeeeeeeeeeeeeeeeee777777777777\\\\\\\  ````````````rrrrrrrrrrrrrrrrrrrrrr             " $ $ .                                 xs\~_q~R\Z`s|y}tvvruvstswI.EAAoo                                  z[[octhL}}Mtt                                  xs\~_q~R\Z`s|y}tvvruvstswI.EAAoo                                  z[[octhL}}Mtt              "  u^.1A]]"88Se.8..]]]]]]]]]]..eeeJ{xxxxoD]ooxioxuuf8e8eS8]]J`S8Zf51c5fS`]JMAfZZZP8e8e8.88888     888888  8`  x]x]x]x]x]xJxSxSxSxSD5D5D5D5fSSSSffffuZx]`SSuZSo`x]x]x]xJxJxJxJ`xSxSxSxSZZZZZZffD5D5D5D5  ] co5o5o5o5o5ffffSSxJxJxJiMiMiMiMoAoAoAffffffuZfPfPfP  `o5fxJiMoAuZuZ`SfxSD5 5SNe  . eS1JGG]] ]82]8 {{]8 "" AA]++  SS            ff     "A             8'ee      e           e               C  e                         f                       " B M S {??3=N  ' 	   @                         " ddddd dddC88dddddCzddddYYdYSSSS**CCoSdSdSddP8SS88SooddSSoSSSSddddddd8888ddddddddddddddSS}}oo88dddddStooddddodddddddddddddddddddSSSSooooooooooooddddddddddddd}ddddddddddddNSddddddddddddddddddddCCddddko<wododdd d d o  d d d  " B M S {??3=N  ' 	   @         P S T U V W X Y Z [ \ ] 
    !    W       X X           Ca:; *      X , (#X   X* //*********************************************L    	       //L //     NAME:    `	 WPCH_BK0.WPM   	 N   //     PURPOSE:CoachoncreatingandprintingabookletM    	    //N %
 R   
 N M //*********************************************Global(ScrnMode;MsgAdj;DefTitle;CancelMsg)Global(w;h;hbox;helpmsg;blank;module;hint;key)Global(FakeBtns;HotElement;SaveScrn)select[0]=0Check=0DefTitle="Coach"     //Main"Coach"name   	 +
{
   ScrnMode=?ScreenHigh24Blank=0Success=0Use("wpchlibr.wpm")              <     h //Sharedlibraryfile   	    Use("wpchlbtb.wpm")If(NotExists(Module))     ScreenSetup()     ColorScheme()EndifIf(?RevealCodesActive)     RC=1     RevealCodes(Off!)Else     RC=0EndifIf(?BlockActive)     BlockoffEndifOnCancelCall(CancelCoach)Error(off!)MsgAdj=DlgMessage()CancelMsg=0Module=0//***********************************************************	   	 !q'   //*********************************************////     MAINPROGRAM:Coach   	 N   ////*********************************************//LABEL(MainCoach)WindowMaximizeCancel(Off!)Message(&tbox;4          S      5
   
 11006   J      SZ          7
   
 )    K (# //OpeningScreen   	 
	   //IfyouneedRadioButtonsVar[1]=0Var[2]=0     steps={    `	 "~CreateaBooklet";   	 ,
|
                 4     `	 "~PrinttheBooklet";     }ONNOTFOUNDCALL(CreatePaper)Display(off!)DlgInput(on!)FormatPageDlgType("4")Type("nLetter(Landscape)")EnterkeyIf(?Entry<>"Letter(Landscape)")     Call(CreatePaper)EndifWhile(NOT?EditScreen)     CancelKeyEndwhileDisplay(on!)Call(Opening7 %
 O   
 7 Screen)              < //OpeningScreen/MainMenu   	 :   RestoreStates()If(RC)     RevealCodes(On!)EndifRETURN	   	 -}$   //*********************************************////     SUBROUTINE:OpeningScreen   	 N   ////*********************************************Label(OpeningScreen)     DlgCreate(Result;DefTitle;DlgNoOK!+DlgNoCancel!+DlgExit!;;;w;h)          DlgControl(CtrlPushButton!;;"~Quit...Esc";StyCancel!;w14;h2)         	 A	             ForNext(x;1;tbox[0])    <     h      //AddWelcomeMessage   	 	8                 4 DlgControl(CtrlLabel!;;tbox[x];;2;x;w1;1)          Endfor          Var[0]=steps[0]          ForNext(x;1;steps[0])    h      //AddSteps   	 +
{
                 4 DlgControl(CtrlRadioButton!;Var[x];steps[x];;2;x+tbox[0]1;w1;2)          Endfor     DlgEnd     If(Result=1)    J (# //UserchoseQuit   	 n             QuitCoach()     EndifWhile(?Mouseleft)EndwhileIf(Var[1])    `	     
           //CreateBooklet   	 O        Call(MakeBooklet)        	    ElseIF(Var[2])                   < //PrintBooklet   	 M        Call(PrintBooklet)EndifEndifReturn	   	 B   //*****************************************************************////     MAKEBOOKLET   	 N   ////******************************************************************Label(MakeBooklet)     Module=1     If(?DocBlank)          Message(&tbox;1300)    <     h      //Documentisblank,wanttoretrieve?   	 	8             Result=OpenDocument(&tbox)     Endif     Display(on!)     Error(off!)     Message(&tbox;1223)         < //QuickTipaboutthe2stepsformakingbooklet   	 +
{
        Result=Hint(&tbox;99;99;0)     Call(CreateBooklet)     Call(PageFormatDlg)         <     h //Insertformatting   	  p
        Call(FormatDlg405Close)    <     h //CloseFormatDlg   	         Error(off!)     If(?Leftcode=12012)          If(Blank=0)               //ifscreenwasblankwhenCoachstarted   	 c
                 4 Message(&tbox;4          S      5
   
  - - 12506         S          7
   
  - - )    h           //Welldone,formattingadded   	 
Z                 4 Result=MessageBox("Coach";&tbox;1)          Else              4 Message(&tbox;4          S      5
   
  - - 12536         S          7
   
  - - )    h           //Welldone,formattingadded.Print?   	  P                 4 Result=MessageBox("Coach";&tbox;3)    D     p    	                  4     `	 If(Result=1)    <     h           //yes   	 O                 4     `	     
  - - Call(PrintBooklet) - -               4     `	 Else              4     `	     
 Message(&tbox;4          S      5
   
  - - 12546   p      S          7
   
  - - )     //Youcannowaddoredittext   	 D                 4     `	     
 Result=MessageBox("Coach";&tbox;1)              4     `	     
 QuitCoach()              4     `	 Endif          Endif     ELSE          Message(&tbox;1002)    <     h //Correctcodenotinsertedindocument,try   	 &%   again?          Result=MessageBox("Coach";&tbox;3)              4 If(Result=2)         < //Ifnotyes   	 (                 4     `	 CancelCoach()              4 ElseIf(Result=1)              4     `	 Go(MakeBooklet)          Endif    `	 Endif   	 g!,        EndifRETURN	   	 \#/   //*****************************************************************////     MENUCONTROL               CreateBooklet#1   	 N   ////******************************************************************Label( - - CreateBooklet - - )IF(NOT?DocBlank)     Blank=1     Message(&tbox;4          S      5
   
 12056         S'          7
   
 )     //Placecursorattopofyourdocument   	 
	        FakeIt("Coach";&tbox;3;1;0)     keypress={8154;}              <     h                //F7key   	         chkcode={1;}     Key=DoEdit(1;&chkcode;&keypress)               //WaitforusertoF7   	 
#	        WindowMaximize     PosDocVeryTopEndif//************SetValidMenuOptionVariables     hbox1={    `	 "Choose>  r [BoldOn]?
   
  - - Layout - - .";   	 

                 4 }     hbox2={    `	 "Choose>  r [BoldOn]?
   
  - - Page - - .";   	 g                 4 }     hbox3={    `	 1;   	 q             }              4      LayoutMenu(&valid)     allow=    `	 {    
  - - 1534 - - ;}         < // - - [Page] - -    	 
]        exallow=    `	 {    
  - - 0 - - ;}          // - - Executethatitem - -    	         accel=    `	 {    
  - - 112 - - ;}          // - - PforPageacceleratorformenu - -    	 [        exaccel=    `	 {    
  - - 1 - - ;}          // - - Executethatitem - -    	 R        subval=    `	 {    
  - - 1 - - ;          //   	      - -           } - -      subacl={    `	  - - 1 - - ;}          //   	 G"        exsubacl={ - - 1 - - ;               // - - executethatitem - -    	 #                 4 }     subs={ - - 1534 - - ;}               // - - Page - -    	 <%        funkey={ - - 8141 - - ;}          // - - ShiftF8validfuntionkey - -    	 :'        sbox={    `	 "Choose>  r [BoldOn]?
   
  - - Page - - .";          //Message   	 )                 4     `	 "";          }     HelpMsg={"Choose>  r [BoldOn]?
   
  - - Page.";   	 0"-                 4     `	     
 ""; - -           }     Altletter= - - 537 - -      // - - Alt+L - - TheAlt+lettertoaccessmenubar   	 1$0        MenuLetter= - - 108 - -      // - - LforLayoutThemenuLetter - -    	 $( 1        Message(&hbox;4          S      5
   
 50106   5*      SE*          7
   
 )         <     h      //hint   	 &&v!3   Repeat     Message(&tbox;4          S      5
   
 12106   #+      S3+          7
   
 )         <     h      //ChooseLayout,Page   	 (l#6        DisplayRewrite     Result=PostIt("Coach";&tbox; - - 47;13 - - ;0;2;0)     MenuActive=0     Show=HotSpot(0;0;62;0;altletter;&funkey;1)	   	 *	&:    - - Switch(Show)    
                    <     h //Layout,Page - -    	       //*****************************************//     UserchoosesShowMe   	 N   //******************************************     CaseOf1:    
           //ShowMe   	 L   А     ShowMenu("Coach";&sbox; - - 48 - - ; - - 3;3;2 - - ;0;0)         D //   	 C        Result=Postit("Coach";&tbox; - - 47;13 - - ;0;3;0)    D //instructionbox   	    //*****************************************//     Userchooses - - Layout         <     h //Menubaritem - -    	 
	   //******************************************     CaseOf - - 1531 - - :               //Userchooses - - Layout - -    	 -   //*****************************************//     Userpresses - - Alt+L - -    	 
"	   //******************************************     CaseOf - - 537 - - :               //Userpressed - - AltL - -    	  p
   Ѐ          PullDownDlg   	              While(?Dialog=1)          Endwhile          Type(" - - l - - ")               // - - menubarletter - -    	 
             Result=Postit("Coach";&tbox; - - 47;13 - - ;0;3;0)//********************************************************//     UserPresses - - Shift+F8 - -    	 X   //********************************************************     CaseOf - - 8141 - - :                   <     h      //Userpressed - - Shift+F8 - -    	              DisplayRewrite          DlgInput(on!)           - - FormatDlg          //Opencorrectdlgandtabtocorrectitem   	 B             While(?Dialog<>405)          Endwhile          If(?Dialog=405)              4 While(?DialogControl<>80)              4     `	 Tabkey              4 Endwhile          Endif          Call(FormatDlg405) - - 	   	 (   //*****************************************//     UserpressesAlt+=   	 W    //******************************************     CaseOf8085:                   <     h      //UserpressedAlt+=   	              Message(&sbox;4          S      5
   
 12206   8      S8          7
   
 )   	 L             Result=PostIt("Coach";&tbox; - - 47;13 - - ;0;3;0)          0    4       MenuActive=MenuBarControl("Coach";&hbox1;&sbox; - - 48;3 - - ;MenuLetter;&funkey)  
  4(#4(#  //*****************************************//     NoChoice   	 7
   //******************************************     DEFAULT:    `	     
                    <     h                     //Default   	              PosLineDown          0    4       MenuActive=MenuBarControl("Coach";&hbox1;&sbox; - - 48;3 - - ;MenuLetter;&funkey)  
  4(#4(#        - - ENDSwitch - - If(MenuActive<>1)          // - - forintermediatedlgifmenuisused - -    	 f        If(Show<> - - 8141 - - )     //Userdidnotpress - - Shift+F8 - -    	 

             0    4       Result=MenuControl(&hbox1;&hbox2;&hbox3;&valid;&allow;&exallow;&accel;&exaccel;&subval;&subacl;&exsubacl;&subs;&funkey)  
  4(#4(#                4 DisplayRewrite              4 MenuActive=Result// - - Stepstomanuallybringupdialog,reducesscreendisplayproblems - -               4 If(Result= - - 1534 - - orResult= - - 112 - - )// - - userselectedPageorP - -               4     `	 If(?Dialog<> - - 83 - - )    h //PageFormatDlg   	 E                 4     `	     
 CancelMenus()              4     `	     
 CancelDialogs()              4     `	     
 DisplayRewrite              4     `	     
  - - FormatPageDlg - -               4     `	 Endif              4 EndIf     EndifEndifUntil(MenuActive<>1)If(?Dialog=405)//theypressShift+F8withpulldownmenudown     Call(FormatDlg405)Endif//*********************************************************RETURN	   	 "\-   //**********************************************************////     FormatDlg#405   	 N   ////**********************************************************Label(FormatDlg405)Result=0    `	 SaveScrn=0        	    If(?Dialog=405)     While(?DialogControl<>80)          Tabkey     EndwhileEndifWhile(?Dialog=405)          //FormatDlg405 - - Dlg - -    	         x1={    4  - - 25 - - ;    
      //HotspotCoordinatesforValidItems   	 +
{
             }     x2={    4  - - 34 - - ;   	 y	             }     y1={    4  - - 10 - - ;   	              }     y2={    `	  - - 10 - - ;   	 e             }     hotkey={    `	  - - 112 - - ;     //PforPage   	 c
             }     hotpnt={    `	 1;    
 //RepaintthescreenwhenHotspotschosen   	              }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - Page - - >   [BoldOff]?
   
 .";   	 O                 4     `	     
 "";          }     Message(&tbox;4          S      5
   
 12206   H      SI          7
   
 )     //MessagetoAppearinthisDlg   	  P        Switch(?DialogControl). %
 Q   
 .           CaseOf - - 80 - - :     //SittingonPAGE   	 F                 4 info={      - - 80 - - ;         < //ControlID   	                   4     `	 405;          //DialogID   	 D!                 4     `	 0;    
           //don'tallowarrows   	 ;"                 4     `	 "Coach";     //title   	 #                 4     `	  - - 47 - - ;          //xposforPostit   	 9$                 4     `	  - - 10 - - ;          //yposforPostit   	 0%                 4     `	 0;    
           //Hintbutton   	 &                 4     `	 "Coach";     //helpTitle   	 .~'                 4     `	 1;    
           //RestoreScreen   	 %(                 4     `	 0;    
           //Reserved   	 |)                 4 }              4 accel={      - - 112;51 - - ;    < //por3forpage   	  +                 4     `	 }              4 aclpnt={1;1;         < //repaintscreen?   	 "h-                 4     `	 }    
         	 ".             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 P'"5                 4     `	     
  - - 405 - - ;              <     h //DialogID   	 'G#6                 4     `	     
 0;                   <     h //don'tallowarrows   	 (#7                 4     `	     
 "Coach";         <     h //Title   	 E)$8                 4     `	     
  - - 47 - - ;              <     h      //xposforPostit   	 )<%9                 4     `	     
  - - 10 - - ;              <     h      //yposforPostit   	 *%:                 4     `	     
 0;                   <     h //HintButton   	 :+&;                 4     `	     
 "Coach";         <     h //HelpTitle   	 +1'<                 4     `	     
 1;                   <     h //RestoreScreen   	                     4     `	     
 0;                   <     h //Reserved   	 W                  4     `	     
 }              4 accel={      - - 112;51 - - ;    <     h      //por3forpage   	                  4     `	 }              4 aclpnt={     1;1;}   	 C                 4 Allow={ - - 80 - - ;}          //whichcontrolstoallow   	              0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 405Dlg - -    	    //***********************************************************RETURN	   	 
"	   //**********************************************************////     PageFormatDlg#83         <     h #2   	 N   ////**********************************************************Label(PageFormatDlg)If(?Dialog=83)EndifItem="p"Result=0    `	 SaveScrn=0        	 
	   Columns=0While(?Dialog=83)          // - - 83Dlg   	     - -      If(Item="p")        	 
"	             Call(PaperSizeSet)          Item="s"     ElseIf(Item="s")          Call(SubdivideSet)     EndifEndif    
    	 e        If(Columns=1)          //PaperSizeandColumnsSet   	 
             Call(OKSet)     Endif     While(?DialogControl<>ContID)          Tabkey     Endwhile     If(Result="Hint")          Ahint=Hint(&hbox;99;99;3)     Endif     Switch(?DialogControl)          CaseOf - - ContID - - :     //SittingonthisBUTTONitemintheDlg   	 B                 4 info={ - - ContID - - ;     //ControlID   	 9                 4     `	 83;          //DialogID   	                   4     `	 0;    
           //don'tallowarrows   	 7!                 4     `	 "Coach";     //title   	 ."                 4     `	  - - 8 - - ;    
           //xposforPostit   	 #                 4     `	  - - 16 - - ;               //yposforPostit   	 ,|$                 4     `	 hint;          //Hintbutton   	 #%                 4     `	 "Coach";     //helpTitle   	 z&                 4     `	 1;    
           //RestoreScreen   	 !q'                 4     `	 0;    
           //Reserved   	 (                 4 }          0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#                4           DEFAULT:              4 info={     ?DialogControl;     //ControlID   	  $P0                 4     `	     
  - - 83 - - ;              <     h //DialogID   	 $1                 4     `	     
 0;                   <     h //don'tallowarrows   	 N% 2                 4     `	     
 "Coach";         <     h //Title   	 %E!3                 4     `	     
  - - 8 - - ;                   <     h //xposforPostit   	 &!4                 4     `	     
  - - 16 - - ;              <     h      //yposforPostit   	 C'"5                 4     `	     
 hint;              <     h      //HintButton   	 ':#6                 4     `	     
 "Coach";         <     h //HelpTitle   	 (#7                 4     `	     
 1;                   <     h //RestoreScreen   	 8)$8                 4     `	     
 0;                   <     h //Reserved   	 )/%9                 4     `	     
 }              4 Allow={ContID;}    <     h //whichcontrolstoallow   	 -+}&;      	 +$'<             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitch	   	    //**********************************************************////     InthePaperSize/TypeList   	 N   ////**********************************************************     If(?Dialog=467)          Type("nletter(landscape)")          Enterkey     Endif     While(?Dialog=467)         < //InPaperSize/TypeList   	 -             X1={    `	 52;4;   	                  4 }          X2={    `	 61;44;   	 
"	                 4 }          Y1={    `	 6;5;   	  p
                 4 }          Y2={    `	 6;13;   	 n                 4 }          Message(&tbox;4          S      5
   
 12356   p      Sp          7
   
 )   	 
             Result=Postit("Coach";&tbox; - - 8;16 - - ;0;0;0)          Repeat          Look(key)          If(Key=8160)              4 CancelCoach()          Endif          If(key=768)              <     h                //Mouse   	 E                 4 If(((?MouseLastX>=52)and(?MouseLastX<=61))AND(?MouseLastY=6))              4     `	 If(?Entry="Letter(Landscape)")              4     `	     
 Type(ntoc(768))               //Selectchosen   	                   4     `	 Else              4     `	     
 Message(&hbox;4          S      5
   
 12456   t      St          7
   
 )   	 /"                 4     `	     
 Result=Postit("Coach";&hbox; - - 47;13 - - ;0;0;0)              4     `	     
 Wait(20)              4     `	 Endif              4 Else              4 If(((?MouseLastX>=52)and(?MouseLastX<=66))AND(?MouseLastY=10))              4     `	 Type(ntoc(768))              4     `	 While(?DialogControl=1793)              D //NameSearch   	 q)                 4     `	     
 Look(key)              4     `	     
 Type(ntoc(key))          Result=Postit("Coach";&tbox; - - 8;16 - - ;0;0;0)              4     `	 Endwhile              4 Else          0    4 If((?MouseLastX>=3)AND(?MouseLastX<=47)AND(?MouseLastY>=4)AND(?MouseLastY<=14))  
  4(#4(#                4     `	 Type(ntoc(768))    h //clickinlistboxorscrollbar   	 $1             Result=Postit("Coach";&tbox; - - 8;16 - - ;0;0;0)              4 EndifEndifEndif          ElseIf(Key<>768)              4 If(Key=8169orKey=8166)               //Up,DownArrows   	 '<#6                 4     `	 Type(ntoc(key))          Result=Postit("Coach";&tbox; - - 8;16 - - ;0;0;0)              4 ElseIf(Key=115orKey=83orKey=49)     //Selectchosen   	 )1%9                 4     `	 If(?Entry="Letter(Landscape)")              4     `	     
 Type(ntoc(key))              4     `	 Endif   	 +&'<                 4 ElseIF(Key=110orKey=75)                   D //NameSearch   	                     4     `	 Type(ntoc(key))    h    	 W              Result=Postit("Coach";&tbox; - - 8;16 - - ;0;0;0)              4     `	 While(?DialogControl=1793)              D //NameSearch   	                  4     `	     
 Look(key)              4     `	     
 Type(ntoc(key))              4     `	 Endwhile              4 ElseIf(Key=8182)    h                     //Enter   	 A	                 4     `	 If(?Entry="Letter(Landscape)")              4     `	     
 Type(ntoc(key))              4     `	 Endif              4 EndifEndifEndifEndif          EndifEndif          Until(?Dialog<>467)     Endwhile//**********************************************************////     InColumns/RowsDlg#419   	 
   ////**********************************************************E - %
    
 - rror(off!) - %
     
 -      While(?Dialog=419)         < //IntheColumns/rowsdlg   	 X             Result=0Savescrn=0              4 Message(&tbox;4          S      5
   
 12336         S          7
   
 )    h      //Changeto2columns   	                  4 Result=PostIt("Coach";&tbox; - - 8;16 - - ;0;0;0)              4 While(?Dialog=419)              4     `	 Look(Key)              4     `	 If(key=768)              4     `	     
 If(?MouseLastY=yposS1)              4     `	     
      If(?MouseLastX>=xposQ1and?MouseLastX<=xposQ2)              4     `	     
           CancelMsg=0              4     `	     
           CancelCoach()              4     `	     
           key=0              4     `	     
      EndIf              4     `	     
 Endif              4     `	 EndIf              4     `	 If(key=8160)              4     `	     
 CancelMsg=0              4     `	     
 CancelCoach()              4     `	     
 key=0              4     `	 EndIf              4     `	 Type(ntoc(Key))              4 EndWhile          //419   	 ".                 4 Columns=1          Endwhile    
           //419   	 $Q0   Endwhile    4     `	     
 // - - 83 - - Dlg   	 $1   Return	   	 %F!3   //**********************************************************////     FormatDlg#405CLOSE    <     h #3   	 N   ////**********************************************************Label(FormatDlg405Close)If(?Dialog=405)     While(?DialogControl<>0)          Tabkey     EndwhileEndifResult=0    `	 SaveScrn=0        	    While(?Dialog=405)          //FormatDlg405 - - Dlg - -    	 +
{
        x1={    4  - - 46 - - ;    
      //HotspotCoordinatesforValidItems   	 
"	             }     x2={    4  - - 52 - - ;   	  p
             }     y1={    4  - - 17 - - ;   	 n             }     y2={    `	  - - 17 - - ;   	 
             }     hotkey={    `	  - - 8182 - - ;     //EnterforClose   	 
Z             }     hotpnt={    `	 1;    
 //RepaintthescreenwhenHotspotschosen   	 X             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - Close - - .";   	                  4     `	     
 "";          }     Message(&tbox;4           S      5
   
 12556   .      S>          7
   
 )//MessagetoAppearinthisDlg   	         Switch(?DialogControl)          CaseOf - - 0 - - :     //SittingonClose   	                   4 info={      - - 0 - - ;          //ControlID   	 D!                 4     `	 405;          //DialogID   	 ;"                 4     `	 0;    
      //don'tallowarrows   	 #                 4     `	 "Coach";     //title   	 9$                 4     `	  - - 58 - - ;          //xposforPostit   	 0%                 4     `	  - - 14 - - ;          //yposforPostit   	 &                 4     `	 0;    
      //Hintbutton   	 .~'                 4     `	 "Coach";     //helpTitle   	 %(                 4     `	 1;    
      //RestoreScreen   	 |)                 4     `	 0;    
      //Reserved   	 # s*                 4 }              4 accel={      - - 8182 - - ;    <     h //EnterforClose   	 q!,                 4     `	 }              4 aclpnt={1;          //repaintscreen?   	 ".                 4     `	 }    
         	 f#/             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 'G#6                 4     `	     
  - - 405 - - ;              <     h //DialogID   	 (#7                 4     `	     
 0;                   <     h //don'tallowarrows   	 E)$8                 4     `	     
 "Coach";         <     h //Title   	 )<%9                 4     `	     
  - - 58 - - ;              <     h      //xposforPostit   	 *%:                 4     `	     
  - - 14 - - ;              <     h      //yposforPostit   	 :+&;                 4     `	     
 0;                   <     h //HintButton   	 +1'<                 4     `	     
 "Coach";         <     h //HelpTitle   	                     4     `	     
 1;                   <     h //RestoreScreen   	 W                  4     `	     
 0;                   <     h //Reserved   	 N                 4     `	     
 }              4 accel={      - - 1 - - ;         <     h //none   	 L                 4     `	 }              4 aclpnt={     1;}   	                  4 Allow={ - - 0 - - ;}          //whichcontrolstoallow   	 A	             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 405Dlg - -    	 +
{
   //**********************************************************RETURN	   	 y	   //**********************************************************////     PaperSizeSettings   	 N   //**********************************************************Label(PaperSizeSet)While(?DialogControl<>1091)    h //PaperSize   	 C        TabkeyEndwhile     x1={    4  - - 11 - - ;    
      //PaperSize/Type   	 	8             }     x2={    4  - - 31 - - ;   	 6
             }     y1={    4  - - 11 - - ;   	              }     y2={    `	  - - 11 - - ;   	 
"	             }     hotkey={    `	  - - 115;52 - - ;     //Sor4forPaperSize   	  p
             }     hotpnt={    `	 1;1;     //RepaintthescreenwhenHotspotschosen   	 n             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - PaperSize/Type - - .";   	 
                 4     `	     
 "";          }     ContID=1091    
           //paperSize   	 
        Accel={    `	  - - 115;52; - -    	 d             }     AclPnt={    `	 1;1;   	              }     Message(&tbox;4   !       S      5
   
 12306   ;      SK          7
   
 )     //MessagetoAppearinthisDlg   	  P        hint=0Return	   	 F   //**********************************************************////     SubdivideSettings   	 N   //**********************************************************Label(SubdivideSet)While(?DialogControl<>1096)    h      //SubdividePage   	 C        TabkeyEndwhile     x1={    4  - - 11 - - ;    
      //SubdividedPages   	 
	             }     x2={    4  - - 31 - - ;   	 -             }     y1={    4  - - 13 - - ;   	 +
{
             }     y2={    `	  - - 13 - - ;   	 y	             }     hotkey={    `	  - - 97; - -           //aforSubdividePage   	              }     hotpnt={    `	 1;    
      //RepaintthescreenwhenHotspotschosen   	 e             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - SubdividePage - - .";   	 c
                 4     `	     
 "";          }     ContID=1096    
           //6.SubdividePage   	 d        Accel={    `	 97;54;          //aor6forSubdividePage   	 [             }     AclPnt={    `	 1;1;   	 Y             }     Message(&tbox;4   "       S      5
   
 12256         Sɰ          7
   
 )     //MessagetoAppearinthisDlg   	         hint=4     Message(&hbox;5010)Return	   	 #   //**********************************************************////     ChooseOKSettings   	 N   //**********************************************************Label(OKSet)     x1={    4  - - 50 - - ;    
      //OK   	              }     x2={    4  - - 57 - - ;   	 	8             }     y1={    4  - - 20 - - ;   	 6
             }     y2={    `	  - - 20 - - ;   	              }     hotkey={    `	  - - 8182; - -           //aforSubdividePage   	 
"	             }     hotpnt={    `	 1;    
      //RepaintthescreenwhenHotspotschosen   	  p
             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - OK - - .";   	 n                 4     `	     
 "";          }     ContID=0    `	     
      //OK   	 o
        Accel={    `	 8182;          //Enter   	 f             }     AclPnt={    `	 1;   	 d             }     Message(&tbox;4   #       S      5
   
 12406         S          7
   
 )     //MessagetoAppearinthisDlg   	         hint=0Return	   	 O   T R  m3' L e t t e r   ( P o r t r a i t )                                          3'                                                                           3' L e t t e r   ( P o r t r a i t )                                  3'                                                                              T//*********************************************************////     IfLandscapenotavailablecreateit.   	 N   ////*********************************************************Label(CreatePaper)While(NOT?Editscreen)     CancelKeyEndwhilePaperSize("Letter(Landscape)";Standard!;11";8.5";Continuous!;No!; - - LandscapeFont!;Down!;0";Left!;0")RETURN	   	     - - //**********************************************************   	       ////     SUBROUTINE:PrintBooklet   	 N   ////**********************************************************Label(PrintBooklet) - - //**********************************************************//     Screenisblankwhenaskingtoprint   	 A	   //**********************************************************Display(on!)If(Module=0)    
                //CreateportionofCoachnotrun1st   	 6
        If(?DocBlank)          Message(&tbox;4   $       S      5
   
 13036         S
          7
   
 )    <     h      //Documentisblank,wanttoretrieve?   	              Result=OpenDocument(&tbox)              4 If(Result=1)         <     h      //doesnotwanttoopenadocument   	 
#	                 4     `	 Message(&tbox;4   %       S      5
   
 13056         S          7
   
 )     //createanewbooklet?   	 z	                 4     `	 Result=MessageBox("Coach";&tbox;3)              4     `	     
 If(Result=1)    h      //ifyes   	                  4     `	     
      Call( - - MakeBooklet - - )              4     `	     
 Else              <     h //ifnodone   	 g                 4     `	     
      QuitCoach()              4     `	     
 Endif              4 Endif     Endif          Display(Off!)          QuickmarkSet          If(NOT?WP51CursorMovement)              4 CM=0              4 WP51CursorMovement(On!)              4 SetupSave          Else              4 CM=1          Endif          Display(On!)          PosDocVeryTop          If(?RightCode=12015or?RightCode=12012)          PosCharNext              4 If(?RightCode=12015or?RightCode=12012)              4     `	 QuickmarkFind              4     `	 Call( - - PrintMenu - - )              4     `	 Call( - - PrintDlg406 - - )    h    	  h*                 4 ELSE              4     `	 Call(WrongFormat)              4 Endif          Else              4 Call(WrongFormat)          Endif          If(CM=0)              4 WP51CursorMovement(Off!)              4 SetupSave          EndifElse         4     `	 //ranCreatemodulefirst   	 (#7                 4 Call( - - PrintMenu - - )              4 Call( - - PrintDlg406 - - )    <    	 )1%9   EndifRETURN   	 +&'<   LABEL(WrongFormat)              4     `	 Message(&tbox;4   &       S      5
   
  - - 13076         S          7
   
  - - )     //documentonscreennotformattedcorrectly   	 W                  4     `	 Message(&hbox;5010)              4     `	 Result=Messagebox("Coach";&tbox;3)              4     `	     
 If(Result=1)    h      //ifYes   	 M                 4     `	     
      Module=1              4     `	     
      Call( - - MakeBooklet - - )              4     `	     
      Call( - - PrintBooklet - - )     //         4     `	     
      Call( - - PrintDlg406 - - )        	 
	                 4     `	     
 Else              4     `	     
      Message(&tbox;1435)     //completedtheCoach   	 .                 4     `	     
      Result=Messagebox("Coach";&tbox;1)              4     `	     
 EndifRETURN	   	 
#	   //**********************************************************////     SUBROUTINE:PrintDlg406MultPages   	 N   ////**********************************************************Label( - %
     
 - PrintDlg406)Result=0    `	 SaveScrn=0        	    If(?Dialog=406)     While(?DialogControl<>691)    h      //IfnotatmultiplePages,   	 
	             Tabkey    
                    <     h //Getthere   	 6
        EndwhileEndifWhile(?Dialog=406)          //PrintDlg406 - - Dlg - -    	 
"	        x1={    4  - - 8; - -     `	     
 //HotspotCoordinatesforMultiplePages   	 y	             }     x2={    4  - - 31 - - ;   	              }     y1={    4  - - 11 - - ;   	 e             }     y2={    `	  - - 11 - - ;   	 c
             }     hotkey={    `	  - - 52 - - ;                   < //4forMultiplePages   	              }     hotpnt={    `	 1;    
                //RepaintthescreenwhenHotspotschosen   	 O             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - MultiplePages - - .";   	 M                 4     `	     
 "";          }     Message(&tbox;4   '       S      5
   
 13306         S          7
   
 )         < //choosemultiplepages   	 N        Switch(?DialogControl)          CaseOf - - 691 - - :               //SittingonMultiplePages   	 D!                 4 info={      - - 691 - - ;         <     h //ControlID   	 ;"                 4     `	     
       - - 406 - - ;         <     h //DialogID   	 #                 4     `	     
      0;              <     h //don'tallowarrows   	 9$                 4     `	     
      "Coach";    <     h //title   	 0%                 4     `	     
       - - 38 - - ;         <     h      //xposforPostit   	 &                 4     `	     
       - - 11 - - ;         <     h      //yposforPostit   	 .~'                 4     `	     
      0;              <     h //Nobuttons   	 %(                 4     `	     
 "Coach";         < //helpTitle   	 |)                 4     `	     
 1;                   < //RestoreScreen   	 # s*                 4     `	     
 0;                   < //Reserved   	  +                 4     `	 }              4 accel={      - - 52;109 - - ;    < //4ormforMultiplePages   	 "h-                 4     `	 }              4 aclpnt={1;1;         < //repaintscreen?   	 f#/                 4     `	 }    
         	 
$]0             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 (#7                 4     `	     
  - - 406 - - ;              <     h //DialogID   	 E)$8                 4     `	     
 0;                   <     h //don'tallowarrows   	 )<%9                 4     `	     
 "Coach";         <     h //Title   	 *%:                 4     `	     
  - - 38 - - ;              <     h      //xposforPostit   	 :+&;                 4     `	     
  - - 11 - - ;              <     h      //yposforPostit   	 +1'<                 4     `	     
 0;                   <     h //NoButtons   	                     4     `	     
 "Coach";         <     h //HelpTitle   	 W                  4     `	     
 1;                   <     h //RestoreScreen   	 N                 4     `	     
 0;                   <     h //Reserved   	                  4     `	     
 }              4 accel={      - - 52;109; - -     <     h      //4ormformultiplepages   	 C                 4     `	 }              4 aclpnt={     1;1;}   	 A	                 4 Allow={ - - 691 - - ;}         < //whichcontrolstoallow   	 	8             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 406Dlg - -    	 
"	   //**********************************************************	   	    //**********************************************************////     SUBROUTINE:PrintMultiplePagesDlg508   	 N   ////**********************************************************//Label(PrintMultiplePagesDlg508)Result=0    `	 SaveScrn=0        	    If(?Dialog=508)     While(?DialogControl<>3230)          //ifnotonPrintasBooklet   	 
	             Tabkey    
                    <     h //getthere   	 6
        EndwhileEndifWhile(?Dialog=508)          //PrintMultiplePagesDlg508 - - Dlg - -    	 
"	        x1={    4  - - 42;17; - -           //HotspotCoordinatesforOK&PrintasBooklet   	 y	             }     x2={    4  - - 49;39 - - ;   	              }     y1={    4  - - 18;15; - -    	 e             }     y2={    `	  - - 18;15 - - ;   	 c
             }     hotkey={    `	  - - 768 - - ;     //MouseclickforOK   	                  4     `	  - - 98 - - ;     //bforPrintasBooklet   	 X             }     hotpnt={    `	 1;0;     //RepaintthescreenwhenHotspotschosen   	              }     helpmsg={    
 "Check>  r [BoldOn]?
   
  - - PrintasBooklet - - ,";   	 D                 4     `	     
 ">   [BoldOff]?
   
 thenchooseOK.";              4     `	     
 "";          }     Message(&tbox;4   (       S      5
   
 13406         S/          7
   
 )         < //ChoosePrintasBooklet,thenOK   	          Switch(?DialogControl)          CaseOf - - 0 - - :                   <     h //SittingonOK   	 9$                 4 info={      - - 0 - - ;              <     h //ControlID   	 0%                 4     `	     
  - - 508 - - ;              < //DialogID   	 &                 4     `	     
 0;                   < //don'tallowarrows   	 .~'                 4     `	     
 "Coach";         < //title   	 %(                 4     `	     
  - - 46 - - ;              <     h //xposforPostit   	 |)                 4     `	     
  - - 12 - - ;              <     h //yposforPostit   	 # s*                 4     `	     
 0;                   < //Hintbutton   	  +                 4     `	     
 "Coach";         < //helpTitle   	 q!,                 4     `	     
 1;                   < //RestoreScreen   	 "h-                 4     `	     
 0;                   < //Reserved   	 ".                 4     `	 }              4 accel={      - - 55;98 - - ;    <     h      //7orbforPrintasBooklet   	 
$]0                 4     `	 }              4 aclpnt={0;0;         <     h //repaintscreen?   	 [% 2                 4     `	 }    
         	 &R!3             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            CaseOf - - 3230 - - :              < //SittingonPrintasBooklet   	 )<%9                 4 info={      - - 3230 - - ;         <     h //ControlID   	 *%:                 4     `	     
  - - 508 - - ;              < //DialogID   	 :+&;                 4     `	     
 0;                   < //don'tallowarrows   	 +1'<                 4     `	     
 "Coach";         < //title   	                     4     `	     
  - - 46 - - ;              <     h //xposforPostit   	 W                  4     `	     
  - - 12 - - ;              <     h //yposforPostit   	 N                 4     `	     
 0;                   < //Hintbutton   	                  4     `	     
 "Coach";         < //helpTitle   	 L                 4     `	     
 1;                   < //RestoreScreen   	 C                 4     `	     
 0;                   < //Reserved   	                  4     `	 }              4 accel={      - - 55;98 - - ;    <     h      //7orbforPrintasBooklet   	 	8                 4     `	 }              4 aclpnt={0;0;         <     h //repaintscreen?   	 6
                 4     `	 }    
         	 -             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	                  4     `	     
  - - 508 - - ;              <     h //DialogID   	 n                 4     `	     
 0;                   <     h //don'tallowarrows   	 e                 4     `	     
 "Coach";         <     h //Title   	 
                 4     `	     
  - - 46 - - ;              <     h      //xposforPostit   	 c
                 4     `	     
  - - 12 - - ;              <     h      //yposforPostit   	 
Z                 4     `	     
 0;                   <     h //HintButton   	                  4     `	     
 "Coach";         <     h //HelpTitle   	 X                 4     `	     
 1;                   <     h //RestoreScreen   	 O                 4     `	     
 0;                   <     h //Reserved   	                  4     `	     
 }              4 accel={      - - 55;98; - -     <     h      //7orbforprintasbooklet   	 D                 4     `	 }              4 aclpnt={     0;0;}   	 B                 4 Allow={ - - 3230;0 - - }    <     h //whichcontrolstoallow   	 9             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 508Dlg - -    	 #%   //**********************************************************	   	 !q'   //**********************************************************////     SUBROUTINE:PrintDlg406Print   	 N   ////**********************************************************//Label(PrintDlg406Print)Error(on!)OnErrorCall(Printerror)Result=0    `	 SaveScrn=0        	 
	   If(?Dialog=406)     While(?DialogControl<>4027)          //notonPrint   	 -             Tabkey    
                    <     h //getthere   	         EndwhileEndifWhile(?Dialog=406)          //PrintDlg406 - - Dlg - -    	  p
        x1={    4  - -     `	 43; - -                //HotspotCoordinatesforPrint   	              }     x2={    4  - -     `	 51 - - ;   	 e             }     y1={    4  - -     `	 20 - - ;   	 c
             }     y2={    `	  - - 20 - - ;   	              }     hotkey={    `	  - - 114 - - ;               //rforprint   	 O             }     hotpnt={    `	 1;    
                //RepaintthescreenwhenHotspotschosen   	 M             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - Print - - .";   	                  4     `	 "";          }     Message(&tbox;4   )       S      5
   
 13506        S         7
   
 )     //Chooseprint   	          Switch(?DialogControl)          CaseOf - - 4027 - - :              <     h //SittingonPrint   	 #                 4 info={      - - 4027 - - ;         <     h //ControlID   	 9$                 4     `	     
  - - 406 - - ;              <     h //DialogID   	 0%                 4     `	     
 0;                   <     h //don'tallowarrows   	 &                 4     `	     
 "Coach";         <     h //title   	 .~'                 4     `	     
  - - 39 - - ;              <     h //xposforPostit   	 %(                 4     `	     
  - - 13 - - ;              <     h //yposforPostit   	 |)                 4     `	     
 0;                   <     h //Hintbutton   	 # s*                 4     `	     
 "Coach";         <     h //helpTitle   	  +                 4     `	     
 1;                   <     h //RestoreScreen   	 q!,                 4     `	     
 0;                   <     h //Reserved   	 "h-                 4     `	 }              4 accel={      - - 114 - - ;         <     h      //rforprint   	 f#/                 4     `	 }              4 aclpnt={1;              <     h      //repaintscreen?   	 $ 1                 4     `	 }    
         	 [% 2             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 )<%9                 4     `	     
  - - 406 - - ;              <     h //DialogID   	 *%:                 4     `	     
 0;                   <     h //don'tallowarrows   	 :+&;                 4     `	     
 "Coach";         <     h //Title   	 +1'<                 4     `	     
  - - 39 - - ;              <     h //xposforPostit   	                     4     `	     
  - - 13 - - ;              <     h //yposforPostit   	 W                  4     `	     
 0;                   <     h //HintButton   	 N                 4     `	     
 "Coach";         <     h //HelpTitle   	                  4     `	     
 1;                   <     h //RestoreScreen   	 L                 4     `	     
 0;                   <     h //Reserved   	 C                 4     `	     
 }              4 accel={      - - 114; - -          <     h //rforprint   	 A	                 4     `	 }              4 aclpnt={     1;}   	 
	                 4 Allow={ - - 4027 - - ;}         <     h //Print   	 6
             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 406Dlg - -    	  p
   //**********************************************************If(?Dialog=0)     Call(MayNeedGenerate)EndifIf(Key="{MakeBooklet}")     Call(MakeBooklet)     QuitCoach()Endif	   	 O   	   	       //**********************************************************////     Whileprinting...   	 N   ////**********************************************************While(?PrintProgress)Message(&tbox;4   *       S      5
   
 14156   *     S+         7
   
 )              < //Processing.PleaseWait.   	 A	   Result=Messagebox("Coach";&tbox;0)     Wait(6)     While(?PrintGo)          DisplayRewrite          Wait(10)          Message(&tbox;4   +       S      5
   
 14006   ,     S,         7
   
 )    < //PrintermayneedaGO   	 ,
|
             Result=MessageBox("Coach";&tbox;8)          If(Result=1)              4 CancelCoach()          Else              4 Call(PrintMenu)    < //GettoPrintMenu   	 p                 4 Call(SendG)              < //SendtheGtoprint   	 g             Endif     Endwhile     While(?PrintNoChar)          DisplayRewrite          Wait(10)          Message(&tbox;1402)    < //printernotacceptingcharacters   	              Result=Messagebox("Coach";&tbox;8)              4 If(Result=1)              4     `	 CancelCoach()              4 Endif     EndwhileEndwhileIf(Success=0)     Message(&tbox;4   ,       S      5
   
 14256   0     S1         7
   
 )   	 .~$        RESULT=MessageBox("Coach";&tbox;1)     Success=1EndifReturn	   	  i*   //**********************************************************////     SUBROUTINE:Docmayneedgenerating   	 N   ////**********************************************************Label(MayNeedGenerate)While(?Dialog=0)          //Docmayneedtobegenerated   	         x1={    4  - - 40;51; - -           //HotspotCoordinatesforyesandNo   	 A	             }     x2={    4  - - 48 - - ;58;   	 
	             }     y1={    4  - - 13 - - ;13;   	 -             }     y2={    `	  - - 13 - - ;13;   	 +
{
             }     hotkey={    `	  - - 121 - - ;     //yforyes   	 y	                 4     `	 110;     //nforno   	  p
             }     hotpnt={    `	 1;1;     //RepaintthescreenwhenHotspotschosen   	 n             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - Yes - - >   [BoldOff]?
   
 Ԁor>  r [BoldOn]?
   
 No.";   	 
                 4     `	     
 "";          }     Message(&tbox;4   -       S      5
   
 14056   7     S7         7
   
 )     //ChooseYes   	 
        Wait(3)     Switch(?DialogControl)          CaseOf - - 4368 - - :              <     h //SittingonYes   	                  4 info={      - - 4368 - - ;         <     h //ControlID   	 Z                 4     `	     
  - - 0 - - ;              <     h //DialogID   	 Q                 4     `	     
 0;                   <     h //don'tallowarrows   	                  4     `	     
 "Coach";         <     h //title   	 O                 4     `	     
  - - 99 - - ;              <     h //xposforPostit   	 F                 4     `	     
  - - 15 - - ;              <     h //yposforPostit   	                   4     `	     
 0;                   <     h //Nobuttons   	 D!                 4     `	     
 "Coach";         <     h //helpTitle   	 ;"                 4     `	     
 1;                   <     h //RestoreScreen   	 #                 4     `	     
 0;                   <     h //Reserved   	 9$                 4     `	 }              4 accel={      - - 121 - - ;110;    <     h //yforYes,nforNo   	 &                 4     `	 }              4 aclpnt={1;1;         <     h //repaintscreen?   	 %(                 4     `	 }    
         	 |)             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#       CaseOf - - 2 - - :    
                    <     h //SittingonNo   	 ".                 4 info={      - - 2 - - ;              <     h //ControlID   	 f#/                 4     `	     
  - - 0 - - ;              <     h //DialogID   	 
$]0                 4     `	     
 0;                   <     h //don'tallowarrows   	 $ 1                 4     `	     
 "Coach";         <     h //title   	 [% 2                 4     `	     
  - - 99 - - ;              <     h //xposforPostit   	 &R!3                 4     `	     
  - - 15 - - ;              <     h //yposforPostit   	 &!4                 4     `	     
 0;                   <     h //Nobuttons   	 P'"5                 4     `	     
 "Coach";         <     h //helpTitle   	 'G#6                 4     `	     
 1;                   <     h //RestoreScreen   	 (#7                 4     `	     
 0;                   <     h //Reserved   	 E)$8                 4     `	 }              4 accel={      - - 121 - - ;110;    <     h //yforYes,nforNo   	 *%:                 4     `	 }              4 aclpnt={1;1;         <     h //repaintscreen?   	 +1'<                 4     `	 }    
         	                 0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 C                 4     `	     
  - - 0 - - ;                   <     h //DialogID   	                  4     `	     
 0;                   <     h //don'tallowarrows   	 A	                 4     `	     
 "Coach";         <     h //Title   	 	8                 4     `	     
  - - 99 - - ;              <     h //xposforPostit   	 
	                 4     `	     
  - - 15 - - ;              <     h //yposforPostit   	 6
                 4     `	     
 0;                   <     h //HintButton   	 -                 4     `	     
 "Coach";         <     h //HelpTitle   	                  4     `	     
 1;                   <     h //RestoreScreen   	 +
{
                 4     `	     
 0;                   <     h //Reserved   	 
"	                 4     `	     
 }              4 accel={      - - 121; - -          <     h //yforYes   	  p
                 4     `	 }              4 aclpnt={     1;}   	 n                 4 Allow={ - - 4368 - - ;2}         <     h //Yes   	 e             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	 //EndDocmayneedtobeGeneratedDlg   	    Wait(20)If(Check=0)     If(?PrintProgress=0)          Check=1          Module=1          Call(Generate)          Call(PrintBooklet)     EndifEndifRETURN	   	 !q'   //**********************************************************////     SUBROUTINE:SendG   	 N   ////**********************************************************Label(SendG)Result=0    `	 SaveScrn=0        	 A	   If(?Dialog=406)     While(?DialogControl<>692)          Tabkey     EndwhileEndifWhile(?Dialog=406)          //PrintDlg406 - - Dlg - -    	 +
{
        x1={    4  - - 7; - -     `	     
 //HotspotCoordinatesforControlPrinter   	 
"	             }     x2={    4  - - 28 - - ;   	  p
             }     y1={    4  - - 15 - - ;   	 n             }     y2={    `	  - - 15 - - ;   	 
             }     hotkey={    `	  - - 99 - - ;          //cforControlPrinter   	 
Z             }     hotpnt={    `	 1;    
           //RepaintthescreenwhenHotspotschosen   	 X             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - ControlPrinter - - .";   	                  4     `	     
 "";          }     Message(&tbox;4   .       S      5
   
  - - 14086   }[     S[         7
   
  - - )     //MessagetoAppearinthisDlg   	         Wait(3)     Switch(?DialogControl)          CaseOf - - 692 - - :     //SittingonControlPrinter   	                   4 info={      - - 692 - - ;         < //ControlID   	 D!                 4     `	     
       - - 406 - - ;         <     h //DialogID   	 ;"                 4     `	     
      0;              <     h //don'tallowarrows   	 #                 4     `	     
      "Coach";    <     h //title   	 9$                 4     `	     
       - - 39 - - ;         <     h //xposforPostit   	 0%                 4     `	     
       - - 15 - - ;         <     h //yposforPostit   	 &                 4     `	     
      0;              <     h //Hintbutton   	 .~'                 4     `	     
      "Coach";    <     h //helpTitle   	 %(                 4     `	     
      1;              <     h //RestoreScreen   	 |)                 4     `	     
      0;              <     h //Reserved   	 # s*                 4     `	 }              4 accel={      - - 99 - - ;54;    < //cor6forcontrolprinter   	 q!,                 4     `	 }              4 aclpnt={1;              < //repaintscreen?   	 ".                 4     `	 }    
         	 f#/             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	 'G#6                 4     `	     
  - - 406 - - ;              <     h //DialogID   	 (#7                 4     `	     
 0;                   <     h //don'tallowarrows   	 E)$8                 4     `	     
 "Coach";         <     h //Title   	 )<%9                 4     `	     
  - - 39 - - ;              <     h //xposforPostit   	 *%:                 4     `	     
  - - 15 - - ;              <     h //yposforPostit   	 :+&;                 4     `	     
 0;                   <     h //HintButton   	 +1'<                 4     `	     
 "Coach";         <     h //HelpTitle   	                     4     `	     
 1;                   <     h //RestoreScreen   	 W                  4     `	     
 0;                   <     h //Reserved   	 N                 4     `	     
 }              4 accel={      - - 99;54; - -     <     h //cor6forcontrolprinter   	 L                 4     `	 }              4 aclpnt={     1;}   	                  4 Allow={ - - 692 - - ;}         <     h //ControlPrinter   	 A	             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)  
  4(#4(#       ENDSwitchEndwhile    4     `	     
 // - - 406Dlg - -    	 +
{
   //**********************************************************	   	  p
   //**********************************************************////     CONTROLPRINTERDLG#130   	 N   ////**********************************************************Wait(10)Message(&tbox;4   /       S      5
   
 14106   o     Sp         7
   
 )              <     h      //Insertpaper,PressG   	    Result=PostaNote("Coach";&tbox;99;12;1;1)While(?PrintProgress)     Wait(2)     Look(key)     Type(ntoc(key))Endwhile	   	 z	   While(?Dialog=130)     x1={    4  - - 70; - -     
      //HotspotCoordinatesforClose   	              }     x2={    4  - - 76 - - ;   	 C             }     y1={    4  - - 21 - - ;   	 A	             }     y2={    `	  - - 21 - - ;   	 
	             }     hotkey={    `	  - - 768 - - ;          //MouseforClose   	 -             }     hotpnt={    `	 1;    
           //RepaintthescreenwhenHotspotschosen   	 +
{
             }     helpmsg={    
 "Choose>  r [BoldOn]?
   
  - - Close - - .";   	 y	                 4     `	     
 "";          }     Message(&tbox;4   0       S      5
   
 14206   u     Su         7
   
 )     //ChooseClose   	 z        Wait(3)     Switch(?DialogControl)          CaseOf - - 4136 - - :     //Sittingonclose   	 p
                 4 info={      - - 4136 - - ;         < //ControlID   	 g                 4     `	     
  - - 130 - - ;              < //DialogID   	                  4     `	     
 0;                   < //don'tallowarrows   	 e                 4     `	     
 "Coach";         < //title   	 \                 4     `	     
  - - 50 - - ;              < //xposforPostit   	                  4     `	     
  - - 15 - - ;              < //yposforPostit   	 Z                 4     `	     
 0;                   < //Hintbutton   	 Q                 4     `	     
 "Coach";         < //helpTitle   	                  4     `	     
 1;                   < //RestoreScreen   	 O                 4     `	     
 0;                   < //Reserved   	 F                 4     `	 }              4 accel={      - - 8182 - - ;    < //EnterforClose   	 D!                 4     `	 }              4 aclpnt={1;              < //repaintscreen?   	 #                 4     `	 }    
         	 9$             0    4 Result=LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg)  
  4(#4(#            DEFAULT:              4 info={     ?DialogControl;     //ControlID   	  +                 4     `	     
  - - 130 - - ;              <     h //DialogID   	 q!,                 4     `	     
 0;                   <     h //don'tallowarrows   	 "h-                 4     `	     
 "Coach";         <     h //Title   	 ".                 4     `	     
  - - 50 - - ;              <     h //xposforPostit   	 f#/                 4     `	     
  - - 15 - - ;              <     h //yposforPostit   	 
$]0                 4     `	     
 0;                   <     h //HintButton   	 $ 1                 4     `	     
 "Coach";         <     h //HelpTitle   	 [% 2                 4     `	     
 1;                   <     h //RestoreScreen   	 &R!3                 4     `	     
 0;                   <     h //Reserved   	 &!4                 4     `	     
 }              4 accel={      - - 1; - -          <     h //none   	 'G#6                 4     `	 }              4 aclpnt={     1;}   	 E)$8                 4 Allow={ - - 4136 - - ;}         <     h //ControlPrinter   	 )<%9             0    4 Result=InvalidControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&aclpnt;&tbox;&helpmsg;&allow)    +1'< 4(#4(#  Ї     ENDSwitch              4 If(Key="{MakeBooklet}")              4     `	 Call(Makebooklet)              4     `	 QuitCoach()              4 Endif     Endwhile    `	     
 //GoactiveinDlg130(ControlPrinter)   	 C   RETURN	   	 A	   //**********************************************************////     SUBROUTINE:PrintMenu   	 N   ////**********************************************************Label(PrintMenu)//************SetValidMenuOptionVariables     hbox1={    `	 "Choose>  r [BoldOn]?
   
  - - File - - .";   	 A	                 4 }     hbox2={    `	 "Choose>  r [BoldOn]?
   
  - - Print/Fax.";   	 
	                 4 } - -     `	     
    	 N
        hbox3={    `	 1;   	 E             }              4      FileMenu(&valid)     allow=    `	 {    
  - - 1470 - - ;}         < // - - [Print/Fax] - -    	 	        exallow=    `	 {    
  - - 0 - - ;}              < // - - Executethatitem - -    	 8
        accel=    `	 {    
  - - 112 - - ;}              < // - - PforPrint/Fax - -    	 /        exaccel=    `	 {    
  - - 1 - - ;}              < // - - Executethatitem - -    	         NoSubMenu(&subval;&subacl;&exsubacl;&subs)     funkey={ - - 8142 - - ;}     // - - ShiftF7validfuntionkey - -    	 {
        sbox={    `	 "Choose>  r [BoldOn]?
   
  - - Print/Fax - - .";    D     p //Message   	                  4     `	 "";          }     HelpMsg={    
 "Choose>  r [BoldOn]?
   
  - - Print/Fax.";   	 q    - -               4     `	     
 "";        	 $t             }     Altletter= - - 543 - -      // - - Alt+F - - TheAlt+lettertoaccessmenubar   	 r        MenuLetter= - - 102 - -           // - - FforFileThemenuLetter - -    	 i        Message(&hbox;4   1       S      5
   
 50106   I     SY         7
   
 )         <     h      //hint   	 g!   Repeat     DisplayRewrite     Message(&tbox;4   2       S      5
   
 13106   R     Sb         7
   
 )         <     h      //ChooseFile,Print   	 T%        Result=PostIt("Coach";&tbox; - - 47;13 - - ;0;2;0)     MenuActive=0     Show=HotSpot(0;0;62;0;altletter;&funkey;1)	   	 J(    - - Switch(Show)    
                    <     h //File,Print/Fax - -    	       //*****************************************//     UserchoosesShowMe   	 N   //******************************************     CaseOf1:    
           //ShowMe   	 L        Result=Postit("Coach";&tbox; - - 47;13 - - ;0;3;0)    D //Coordinatesforinstructionbox   	 C   А     Wait(3)     ShowMenu("Coach";&sbox; - - 20;10;0;11 - - ;0;0)         D    	 A	   //*****************************************//     Userchooses - - File         <     h //Menubaritem - -    	 -   //******************************************     CaseOf - - 309 - - :    
           //Userchooses - - File - -    	 +
{
   //******************************************//     Userpresses - - Alt+F - -    	  p
   //******************************************     CaseOf - - 543 - - :               //Userpressed - - AltF - -    	 n             Result=Postit("Coach";&tbox; - - 47;13 - - ;0;3;0)̀          PullDownDlg   	 
             While(?Dialog=1)          Endwhile          Type(" - - f - - ")               // - - menubarletter - -    	    //******************************************//     UserPresses - - Shift+F7 - -    	    //******************************************     CaseOf - - 8142 - - :                   < //Userpressed - - Shift+F7 - -    	 D             DisplayRewrite          DlgInput(on!)           - - PrintDlg    
      //Opencorrectdlgandtabtocorrectitem   	               While(?DialogControl<>692)          //Print/Fax   	 7!                 4 Tabkey          Endwhile - - 	   	 ,|$   //******************************************//     UserpressesAlt=   	 W    //******************************************     CaseOf8085:                   <     h      //UserpressedAlt+=   	              Message(&sbox;4   3       S      5
   
 13206        S         7
   
 )   	 L             Result=PostIt("Coach";&tbox; - - 47;13 - - ;0;3;0)          0    4       MenuActive=MenuBarControl("Coach";&hbox1;&sbox; - - 20;10 - - ;MenuLetter;&funkey)  
  4(#4(#  //******************************************//     NoChoice   	 7
   //******************************************     DEFAULT:    `	     
                    <     h                     //Default   	              PosLineDown          0    4       MenuActive=MenuBarControl("Coach";&hbox1;&sbox; - - 20;10 - - ;MenuLetter;&funkey)  
  4(#4(#        - - ENDSwitch - - If(MenuActive<>1)          // - - forintermediatedlgifmenuisused - -    	 f        If(Show<> - - 8142 - - )     //Userdidnotpress - - Shift+F7 - -    	 

             0    4       Result=MenuControl(&hbox1;&hbox2;&hbox3;&valid;&allow;&exallow;&accel;&exaccel;&subval;&subacl;&exsubacl;&subs;&funkey)  
  4(#4(#                4 DisplayRewrite              4 MenuActive=Result// - - Stepstomanuallybringupdialog,reducesscreendisplayproblems - -               4 If(Result= - - 1470 - - orResult= - - 112 - - )// - - userselectedPrint/FaxorP - -               4     `	 If(?Dialog<> - - 406 - - )    h //PageFormatDlg   	 E                 4     `	     
 CancelMenus()              4     `	     
 CancelDialogs()              4     `	     
 DisplayRewrite              4     `	     
  - - PrintDlg - -               4     `	 Endif              4 EndIf     EndifEndifUntil(MenuActive<>1)//**********************************************************RETURN	   	 (   //**********************************************************////     SUBROUTINE:Generate   	 N   ////**********************************************************Label(Generate)CancelDialogs()Module=1Run("WPCHGN01.WPM")//Call(PrintBooklet)RETURN	   	    //**********************************************************////     SUBROUTINE:PrintError   	 N   ////**********************************************************Label(PrintError)CancelDialogs()Message(&tbox;1430)Result=Messagebox("Coach";&tbox;3)If(Result=1)     Key="{MakeBooklet}"Else     QuitCoach()EndifRETURN	   	  p
   //*********************************************////     FUNCTION:LocalButtonControl   	 N   ////*********************************************FUNCTION0    4 0    `	4(#4(# LocalButtonControl(&info;&x1;&x2;&y1;&y2;&hotkey;&hotpnt;&accel;&a -    	 C   -    	 C   clpnt;&tbox;&helpmsg)  
  `	(#`	(#  Error(on!)OnErrorCall(Printerror)     Global(Element)     If(SaveScrn=0andinfo[9])          SHOWCODE(SaveScreen!)          SaveScrn=1     Endif     Result=PostIt(info[4];&tbox;info[5];info[6]+(MsgAdjScrnMode);0;info[7];0)     CancelMsg=0     Cancel(On!)     OnCancelCall(CancelCoach)     Look(Key)     While(Key<>0)          Look(Key)     EndWhile     If(accel[1]=1)          accel[0]=0     Endif     Count=0     While(?DialogControl=info[1]and?Dialog=info[2])          Key=0          Char(Key)          If(Key=768)              4 If(?MouseLeftandXYFilter(&x1;&x2;&y1;&y2))              4     `	 Type(ntoc(Key))              4     `	 While(?MouseLeft)              4     `	 EndWhile              4     `	 If(hotpnt[Element]=2)              4     `	     
 Wait(5)              4     `	     
 If(?MouseLeftDouble)              4     `	     
      SHOWCODE(RestoreScreen!)              4     `	     
      HardReturn              4     `	     
 Endif              4     `	 Endif              4     `	 If(hotpnt[Element]=1)              4     `	     
 SHOWCODE(RestoreScreen!)              4     `	 Endif              4     `	 Type(ntoc(hotkey[Element]))              4     `	 If(hotpnt[Element]=0)              4     `	     
 Result=PostIt(info[4];&tbox;info[5];info[6]+(MsgAdj - - ScrnMode);0;info[7];0)              4     `	 Endif              4 Else              4     `	 If(?MouseLastY=(yposS1+ScrnMode))              4     `	     
 If((?MouseLastX>=xposS1)and(?MouseLastX<=xposS2))              4     `	     
      Key="Show"              4     `	     
      Break              4     `	     
 Else              4     `	     
      If((?MouseLastX>=xposH1)and(?MouseLastX<=xposH2))              4     `	     
           Key="Hint"   	 +$'<                 4     `	     
           Break              4     `	     
      Else              4     `	     
           If((?MouseLastX>=xposQ1)and(?MouseLastX<=xposQ2))              4     `	     
                CancelCoach()              4     `	     
           Else              4     `	     
                Count=Count+1              4     `	     
           Endif              4     `	     
      Endif              4     `	     
 Endif              4     `	 Else              4     `	     
 Count=Count+1              4     `	 Endif              4 Endif          Else              4 If(Key=8182andKey<>8160)     //Enter   	 
"	                 4     `	 If(info[9])              4     `	     
 SHOWCODE(RestoreScreen!)              4     `	 Endif              4     `	 Type(ntoc(Key))              4 Else              4     `	 If(Key=8183orKey=8098orKey=8182or              4     `	 Key=8166orKey=8169orKey=8167orKey=8168or              4     `	 Key=8103orKey=8102orKey=8184)              4     `	     
 //Tab,Shft+Tab,Enter              4     `	     
 //Down,Up,Left,Right              4     `	     
 //PgUp,PgDown,Home              4     `	     
 Type(ntoc(Key))              4     `	 Else              4     `	     
 If(accel[0]<>0)              4     `	     
      If(Filter(&accel;Key;1))              4     `	     
           If(aclpnt[Element])              4     `	     
                SHOWCODE(RestoreScreen!)              4     `	     
           Endif              4     `	     
           Type(ntoc(Key))              4     `	     
      Else              4     `	     
           Count=Count+1              4     `	     
      Endif              4     `	     
 Else              4     `	     
      Count=Count+1              4     `	     
 Endif              4     `	 Endif              4 Endif          Endif          If(Key=8158)              4 Key="Hint"              4 Break          Endif          If(Key=8050andxposS1<>0)              4 Key="Show"              4 Break          Endif          If(Count>1)              4 Result=MessageBox(info[8];&helpmsg;1)              4 Count=0          Endif          If(info[10]=1)              4 If(?Substructureor?EditScreen)              4     `	 Cancel(Off!)              4     `	 CancelMsg=1              4     `	 Return(Key)   	 +$'<                 4 Endif     Endif     EndWhile     Cancel(Off!)     CancelMsg=1     Return(Key)//**********************************************************////     SUBROUTINE:PrintError   	 6
   ////**********************************************************Label(PrintError)BeepCancelDialogs()Message(&tbox;1430)Result=Messagebox("Coach";&tbox;3)If(Result=1)     Key="{MakeBooklet}"Else     QuitCoach()EndifRETURN(key)//**********************************************************ENDFUNC	   	 O   //*********************************************////     FUNCTION:Filter   	 N   ////*********************************************FUNCTIONFilter(&array;Key;Accel)     Result=0     ForNext(x;1;array[0])          If(Accel=1)              4 If(Key=array[x]orKey=array[x]32)              4     `	 Result=x              4     `	 Element=x              4     `	 Break              4 Endif          Else              4 If(Accel=2)              4     `	 If(Key=array[x])              4     `	     
 Result=x              4     `	     
 Element=x              4     `	     
 Break              4     `	 Endif              4 Else              4     `	 If(?DialogControl=array[x])              4     `	     
 Result=x              4     `	     
 Element=x              4     `	     
 Break              4     `	 Endif              4 Endif          Endif     Endfor     Return(Result)ENDFUNC	   	 9   //*********************************************////     FUNCTION:XYFilter   	 N   ////*********************************************FUNCTIONXYFilter(&x1;&x2;&y1;&y2)     Result=0     ForNext(x;1;x1[0])          If((?MouseLastX>=x1[x]and?MouseLastX<=x2[x])and          (?MouseLastY>=y1[x]+MsgAdjand?MouseLastY<=y2[x]+MsgAdj))              4 Result=x              4 Element=x              4 Break          Endif     Endfor     Return(Result)ENDFUNC	   	  p
   //**********************************************************////     PROCEDURE:Message   	 N   ////**********************************************************PROCEDUREMessage(&tbox;Msg)Switch(Msg)Caseof1002:    
      //correctcodenotinserted   	 
	   tbox={    4 "Thecorrectcodestoformatthisdocumentasabooklet";   	 6
                 4 "weresomehownotinserted.Wouldyouliketotryagain?";              4 "";          }Caseof%
 4   
 1100% 4   f  :    
 //OpeningScreen   	 y	   w=62h=23tbox={"";          ">  r [BoldOn]?
   
 CreatingaBooklet>   [BoldOff]?
   
 Ԁ";          "";          "Youcancreatetwosideddocuments,suchasbookletsand";          "brochuresthatcanbestitchedorstapleddownthecenter.";          ""; 5   {   Ԁ"
";   	    Ѐ"	45	";   	 p   Ѐ"			";   	 /   Ѐ"		";   	 >   Ѐ"			";   	    Ѐ"		";   	 l   Ѐ"			";   	 +{   Ѐ"		";   	 :   Ѐ"
";   	              "";          "Choosefromthefollowingoptions:";          "";          "";          }Caseof%
 6   
 1205% 6   !  :tbox={"Placethecursoratthetopofthedocument.";   	 (             "";     }Caseof%
 7   
 1210% 7     :tbox={    4 "Tocreateabooklet,";   	 "4-                 4 "";              4 "Choose>  r [BoldOn]?
   
 Layout>   [BoldOff]?
   
 ,";   	 2$/                 4 "then>  r [BoldOn]?
   
 Page>   [BoldOff]?
   
 .";              4 "or";              4 "Press>  r [BoldOn]?
   
 Shift+F8>   [BoldOff]?
   
 .";   	 (&x!2                 4 "";     }Caseof%
 8   
 1220% 8   O  :tbox={    4 "Choose>  r [BoldOn]?
   
 Page.";   	 l)$7                 4 "";     }Caseof1223:   	 	,Y';   tbox={    4 "Formattingadocumentasabookletinvolves:";   	                     4 "";              4 "1.SelectingaLandscapePaperSize";              4 "2.UsingtheSubdividePageFeature";          }Caseof%
 9   
 1225% 9   s  :    
       - - //Sizemustbesamesizeas1230and1240 - -    	 A	                 4     `	     
      //hasHintbuttontbox={    4 "Choose>  r [BoldOn]?
   
 SubdividePage.";   	 
	                 4 "";     }     Caseof%
 :   
 1230% :   3  :    
  - - //Sizemustbethesamesizeas1225and1240 - -    	 ,
|
   tbox={    4 "Choose>  r [BoldOn]?
   
 PaperSize/Type>   [BoldOff]?
   
 .";   	 
#	                 4 "";              4 "";     }CaseOf%
 ;   
 1233% ;     :tbox={    4 "Type>  r [BoldOn]?
   
 2>   [BoldOff]?
   
 Ԁfornumberofcolumns,";   	 e
                 4 "thenchoose>  r [BoldOn]?
   
 OK.";              4 "";          }Caseof%
 <   
 1235% <   h  :tbox={    4 "Highlight>  r [BoldOn]?
   
 Letter(Landscape),";   	 G                 4 ">   [BoldOff]?
   
 thenchoose>  r [BoldOn]?
   
 Select.";              4 "";     }Caseof%
 =   
 1240% =     :    
  - - //Sizemustbethesamesizeas1225and1230 - -    	 ;!   tbox={    4 "Choose>  r [BoldOn]?
   
 OK.";   	 2"                 4 "";              4 "";     }Caseof%
 >   
 1245% >   a  :hbox={    4 "Highlight>  r [BoldOn]?
   
 Letter(Landscape).";   	 (                 4 "";     }Caseof%
 ?   
 1250% ?   R  :    
 //ifscreenwasblankwhenCoachstarted   	 j!,   tbox={    4 "Youhaveaddedformattingforabooklet.Youcannow";   	 "a-                 4 "addthetextforyourbooklet.";              4 "";              4 "Toprintthebooklet,enterCoachagain,choose>  r [BoldOn]?
   
 Booklet,";              4 ">   [BoldOff]?
   
 thenchoose>  r [BoldOn]?
   
 PrinttheBooklet.";              4 "";          }Caseof%
 @   
 1253% @     :    
 //ifscreenwasnotblankwhenCoachstarted   	 I'"5   tbox={    4 "Youhaveformattedyourdocumentasabooklet.";   	 '@#6                 4 "Youcannowaddoreditthetext.";              4 "";              4 "Areyoureadytoprintthebooklet?";              4 "";              4 }   	 +*'<   Caseof%
 A   
 1254% A     :tbox={    4 "Whenyouarereadytoprintyourbooklet,enterCoachagain,";   	 W                  4 "choose>  r [BoldOn]?
   
 Booklet>   [BoldOff]?
   
 ,thenchoose>  r [BoldOn]?
   
 PrinttheBooklet>   [BoldOff]?
   
 .";              4 "";          }CaseOf%
 B   
 1255% B   t  :tbox={    4 "Choose>  r [BoldOn]?
   
 Close.";   	 	8        }Caseof1300:tbox={    4 "Wouldyouliketoopenafile?";   	                  4 "";          }Caseof%
 C   
 1303% C     :    
      //Typenameofbookletfile   	 !q
   tbox={    4 "Doyouwanttoopenabookletfile?";   	                  4 "";          }%
 D   
 Caseof1305:tbox={    4 "Doyouwanttocreateabooklet?";   	 [                 4 "";     }Caseof%
 E   
 1307% E   B  :    
 //Printbookletdoconscreen   	 N   tbox={    4 "Thedocumentisnotformattedcorrectlyasabooklet.";   	 E                 4 "";              4 "Doyouwanttoformatthedocumentasabooklet?";          "";          }Caseof%
 F   
 1310% F     :tbox={    4 "Toprintthebooklet,";   	 -}$                 4 "";              4 "Choose>  r [BoldOn]?
   
 File>   [BoldOff]?
   
 ,";   	 {&                 4 "then>  r [BoldOn]?
   
 Print/Fax>   [BoldOff]?
   
 .";              4 "or";              4 "Press>  r [BoldOn]?
   
 Shift+F7>   [BoldOff]?
   
 .";   	 q)                 4 "";     }Caseof%
 G   
 1320% G   Q  :tbox={    4 "Choose>  r [BoldOn]?
   
 Print/Fax.";   	 "^-        }caseof%
 H   
 1330% H     :tbox={    4 "Choose>  r [BoldOn]?
   
 MultiplePages.";   	 $1        }Caseof%
 I   
 1340% I     :tbox={    4 "Select>  r [BoldOn]?
   
 PrintasBooklet,";   	 H'"5                 4 ">   [BoldOff]?
   
 Ԁthenchoose>  r [BoldOn]?
   
 OK.";     }Caseof%
 J   
 1350% J     :tbox={    4 "Choose>  r [BoldOn]?
   
 Print.";   	 3+&;        }   	 ++'<   ЇCaseof%
 K   
 1400% K   J  :    
      //PrinterNeedsGO   	       tbox={    4 "WordPerfecthasinterruptedprintingtoallowyoutoprint";   	 W                  4 "yourbookletonbothsidesofthepaper.Toprintonboth";              4 "sides,youmustmanuallyfeedthepagesbackthroughthe";              4 "printer.";              4 "";              4 "YouneedtoenterControlPrintertocontinueprinting,";              4 "whetheryouwanttoprintonbothsidesornot.";              4 "";     }Caseof1402:tbox={    4 "Yourprinterisnotacceptingtheprintjob.Makesure";   	                  4 "itisturnedon,online,andreadytoprint.";              4 "";          }Caseof1405:    
           //Documentmayneedtobegenerated   	 e   tbox={    4 "Ifyourdocumentcontainsinformationforanindex,tableof";   	 
                 4 "contents,tableofauthorities,andsoon,theabovemessage";              4 "appearsbeforeprinting.";              4 "";              4 "Ifyouneedtogeneratetheseitemsinyourdocument,choose";              4 ">  r [BoldOn]?
   
 No>   [BoldOff]?
   
 .Coachwillhelpyougenerateyourdocument.";          }Caseof%
 L   
 1408% L     :    
           //ControlPrinter   	 D   tbox={    4 "Choose>  r [BoldOn]?
   
 ControlPrinter.";   	                  4 "";              4 }Caseof%
 M   
 1410% M   "  :    
           //?PrintGoChooseGO   	 8!   tbox={     "Theprintingstatusisshownabove.TheinstructionsnexttoAction";̀     "tellyouwhichphysicalpagetoreinsertintheprinter.";   	 -}$        "";     "Ifyoudonotwanttoprintthebookletonbothsides,youcanpress";     """G""withoutreinsertingpages.";     "";     "WhentheStatusshows""NoPrintJobs,""theprintingiscompleted.";     "";     }          Caseof1415:tbox={"Printing.PleaseWait...";     }Caseof1420:tbox={    4 "Choose>  r [BoldOn]?
   
 Close.";   	 O% 2             }Caseof1425:    
      //printingdone   	 E'"5   tbox={    4 "Thebooklethasprinted.";   	 '<#6                 4 "";          }Caseof1430:    
           //printingerror   	 *%:   tbox={     "Thedocumentcouldnotbeprinted.Itisnotformatted";   	 +&'<        "asabooklet,oritisformattedincorrectly.";     "";     "Doyouwanttoformatthedocumentasabooklet?";     "";          }              4 Caseof1435:     tbox={    `	 "YouhavecompletedtheCoachonBooklets.";   	 A	                 4     `	 "";              4 }Caseof%
 N   
 5010% N   q  :    
           //Hints   	 -   hbox={          "WhenyouchooseSubdividedPage,twologicalpages";          "(columns)areincludedonthesamephysicalpage.";̀"	";   	 y	             "
";   	 8
             "";   	 G             "
";   	    Ѐ"	45	";   	 ^   Ѐ"			";   	 m
   Ѐ"		";   	 ,   Ѐ"			";   	    Ѐ"		";   	 Z   Ѐ"			";   	 i   Ѐ"		";   	 (   Ѐ"
";   	              "";          }     DEFAULT:    4     `	     
      //Ifnonewerefound   	 B   tbox={    4 "Messagenotfound!"+MSG;   	          "";          }hbox={    4 "Nohintavailable.Whattypeofinformation";   	 5$                 4 "wouldbehelpfulhere?";              4 ""+MSG;          }ENDSwitchENDPROC8    4     !o* 44  / 8 