home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus035.dsk
/
020.LSS
< prev
next >
Wrap
Text File
|
1995-11-02
|
4KB
|
153 lines
Use "am_mod"
Sub Initialize
ClientMainWinClass = "WordProAppWndNT"
ClientID = AN_AMIPRO
ClientModName = "am_mod"
ClientLotusAppID = "WORDPRO"
ShowMeModName = "020"
AnimVersionNum = .64
NumFramesThisAnim = 19
AnimationType = "QuickDemo"
SampleFile = "la2n70??.lwp"
AnimName = GetString( "0200000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
X = RunScriptCommand (".GoToBookMark ""style1""", ClientID, DeskwHdl.val )
Exit Sub
Case 2
StepsText = GetString( "0201001", IResult% )
X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 3
X = RunScriptCommand (".GoToBookMark ""style2""", ClientID, DeskwHdl.val )
Exit Sub
Case 4
StepsText = GetString( "0201002", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Text_Properties
Exit Sub
Case 5
StepsText = GetString( "0201003", IResult% )
X = DoWhereIs (0,"",7,INFOBOX_TAB,0,0,AN_INFOBOX)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 6
StepsText = GetString( "0201004", IResult% )
X = DoWhereIs (0,"",CREATESTYLE,INFOBOX_CONTROL,0,0,AN_INFOBOX)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
StepsText = GetString( "0201005", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",25300,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
SendTextKeys GetString( "0202008", IResult% ), 50
Exit Sub
Case 9
X = DoWhereIs (DIALOG_CONTROL,"",25301,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 10
SendTextKeys GetString( "0202010", IResult% ), 50
Exit Sub
Case 11
StepsText = GetString( "0201006", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",25975,0,0,0,ClientID)
ShowTextBubble StepsText, .5, 1, NorthEast
HideTextBubble
Exit Sub
Case 12
StepsText = GetString( "0201007", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",25550,0,0,0,ClientID)
ShowTextBubble StepsText, .5, 1, NorthEast
HideTextBubble
Exit Sub
Case 13
StepsText = GetString( "0201008", IResult% )
X = DoWhereIs (DIALOG_CONTROL,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 14
X = DoWhereIs (0,"",7,INFOBOX_TAB,0,0,AN_INFOBOX)
MoveToObjRel 130 ,-75
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 15
X = RunScriptCommand (".GoToBookMark ""style3""", ClientID, DeskwHdl.val )
Exit Sub
Case 16
X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
MoveToObj Center
Exit Sub
Case 17
X = RunScriptCommand (".GoToBookMark ""style4""", ClientID, DeskwHdl.val )
Exit Sub
Case 18
X = DoWhereIs (0,"",STATUS_BAR_STYLE,0,0,0,AN_STATUSBAR)
If X <> 0 Then
Y = RunScriptCommand (".ActiveDocWindow.WinViewPrefs.IsViewStatusBarCleanScrn=True", ClientID, DeskwHdl.val )
X = DoWhereIs (0,"",STATUS_BAR_STYLE,0,0,0,AN_STATUSBAR)
End If
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 19
MoveToObjRel 50 ,-125
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub