home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 November / Pcwk1197.iso / LOTUS / Eng-ins / WORDPRO / 012.LSS < prev    next >
Text File  |  1996-09-17  |  2KB  |  70 lines

  1. 'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
  2. %if GEMINI
  3. %elseif IBM_OS2
  4. %end if
  5. %if GEMINI
  6. Use "LTAPMN11"
  7. %elseif IBM_OS2
  8. Use "LTAPMO11"
  9. %end if
  10.  
  11. Sub Initialize
  12.    ClientMainWinClass = WORDPRO_MAINWINCLASS
  13.    ClientID = AN_AMIPRO
  14.    ClientModName = WORDPRO_PERSMODNAME
  15.    ClientLotusAppID = "WORDPRO"
  16.    ShowMeModName = "012"
  17.    AnimVersionNum =  2.31 
  18.    NumFramesThisAnim =  5 
  19.    AnimationType = "QuickDemo"
  20.    SampleFile = "la1n71??.lwp"
  21.    AnimName = GetString( "0120000", IResult% )
  22. End Sub
  23.  
  24. Public Sub ShowMe (theNextStep As Integer)
  25.  
  26. GetCursorPos TempPos
  27. CursorPosForStep(theNextStep) = TempPos
  28.  
  29. Select Case theNextStep
  30.  
  31. Case  1 
  32.    X = RunScriptCommand (".GoToBookMark ""bold""", ClientID, DeskwHdl.val )
  33.    Exit Sub
  34.  
  35. Case  2 
  36.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  37.    MoveToObj Center
  38.    Exit Sub
  39.  
  40. Case  3 
  41.    StepsText = GetString( "0121001", IResult% )
  42.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  43.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  44.    HideTextBubble
  45.    SendCtrlKeys  "+{END}", 100
  46.    Exit Sub
  47.  
  48. Case  4 
  49.    StepsText = GetString( "0121002", IResult% )
  50.    X = DoWhereIs (0,"",STATUS_BAR_BOLD_M,0,0,0,AN_STATUSBAR)
  51.    If X <> 0 Then
  52.         Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", AN_AMIPRO, DeskwHdl.val )
  53.         X = DoWhereIs (0,"",STATUS_BAR_BOLD_M,0,0,0,AN_STATUSBAR)
  54.    End If
  55.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  56.    HideTextBubble
  57.    MoveToObj Center
  58.    DoMouse WM_LBUTTONDOWN%, 0
  59.    DoMouse WM_LBUTTONUP%, 0
  60.    Exit Sub
  61.  
  62. Case  5 
  63.    X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
  64.    MoveToObj Center
  65.    DoMouse WM_LBUTTONDOWN%, 0
  66.    DoMouse WM_LBUTTONUP%, 0
  67.    Exit Sub
  68. End Select
  69. End Sub
  70.