home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus035.dsk
/
015.LSS
< prev
next >
Wrap
Text File
|
1995-10-19
|
2KB
|
86 lines
Use "am_mod"
Sub Initialize
ClientMainWinClass = "WordProAppWndNT"
ClientID = AN_AMIPRO
ClientModName = "am_mod"
ClientLotusAppID = "WORDPRO"
ShowMeModName = "015"
AnimVersionNum = .63
NumFramesThisAnim = 9
AnimationType = "QuickDemo"
SampleFile = "la1n70??.lwp"
AnimName = GetString( "0150000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0151001", IResult% )
X = DoWhereIs (HORIZONTAL_RULER,"",ALL_INDENT,0,0,0,ClientID)
If X <> 0 Then
Exit Sub
End If
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Ruler
Exit Sub
Case 2
X = RunScriptCommand (".GoToBookMark ""tabs1""", ClientID, DeskwHdl.val )
Exit Sub
Case 3
StepsText = GetString( "0151002", IResult% )
X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 4
StepsText = GetString( "0151003", IResult% )
X = DoWhereIs (HORIZONTAL_RULER,"",LEFTMARGIN,0,0,0,ClientID)
ShowTextBubble StepsText, 100, .5, NorthEast
HideTextBubble
MoveToObjRel 10000 , 50
DoMouse WM_RBUTTONDOWN%, 0
DoMouse WM_RBUTTONUP%, 0
Exit Sub
Case 5
StepsText = GetString( "0151004", IResult% )
ShowTextBubble StepsText, 240, 70, NorthEast
HideTextBubble
Exit Sub
Case 6
SendCtrlKeys "{down 6}{enter}", 100
Exit Sub
Case 7
StepsText = GetString( "0151005", IResult% )
X = DoWhereIs (HORIZONTAL_RULER,"",LEFTMARGIN,0,0,0,ClientID)
ShowTextBubble StepsText, 240, .5, NorthEast
HideTextBubble
MoveToObjRel 24000 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
MoveToObj Center
Exit Sub
Case 9
SendCtrlKeys "{tab}", 100
Exit Sub
End Select
End Sub