home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 February / PCWK0297.iso / lotus / english / lotus034.dsk / 012.LSS < prev    next >
Text File  |  1995-10-19  |  2KB  |  62 lines

  1. Use "am_mod"
  2.  
  3. Sub Initialize
  4.    ClientMainWinClass = "WordProAppWndNT"
  5.    ClientID = AN_AMIPRO
  6.    ClientModName = "am_mod"
  7.    ClientLotusAppID = "WORDPRO"
  8.    ShowMeModName = "012"
  9.    AnimVersionNum =  .63 
  10.    NumFramesThisAnim =  5 
  11.    AnimationType = "QuickDemo"
  12.    SampleFile = "la1n70??.lwp"
  13.    AnimName = GetString( "0120000", IResult% )
  14. End Sub
  15.  
  16. Public Sub ShowMe (theNextStep As Integer)
  17.  
  18. GetCursorPos TempPos
  19. CursorPosForStep(theNextStep) = TempPos
  20.  
  21. Select Case theNextStep
  22.  
  23. Case  1 
  24.    X = RunScriptCommand (".GoToBookMark ""bold""", ClientID, DeskwHdl.val )
  25.    Exit Sub
  26.  
  27. Case  2 
  28.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  29.    MoveToObj Center
  30.    Exit Sub
  31.  
  32. Case  3 
  33.    StepsText = GetString( "0121001", IResult% )
  34.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  35.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  36.    HideTextBubble
  37.    SendCtrlKeys  "+{END}", 100
  38.    Exit Sub
  39.  
  40. Case  4 
  41.    StepsText = GetString( "0121002", IResult% )
  42.    X = DoWhereIs (0,"",STATUS_BAR_BOLD,0,0,0,AN_STATUSBAR)
  43.    If X <> 0 Then
  44.         Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", ClientID, DeskwHdl.val )
  45.         X = DoWhereIs (0,"",STATUS_BAR_BOLD,0,0,0,AN_STATUSBAR)
  46.    End If
  47.    ShowTextBubble StepsText,  .5,  .5, NorthEast
  48.    HideTextBubble
  49.    MoveToObj Center
  50.    DoMouse WM_LBUTTONDOWN%, 0
  51.    DoMouse WM_LBUTTONUP%, 0
  52.    Exit Sub
  53.  
  54. Case  5 
  55.    X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
  56.    MoveToObj Center
  57.    DoMouse WM_LBUTTONDOWN%, 0
  58.    DoMouse WM_LBUTTONUP%, 0
  59.    Exit Sub
  60. End Select
  61. End Sub
  62.