home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pegasus 5
/
Pegasus_Vol_5_CD2.iso
/
lotus
/
lotus035.dsk
/
075.LSS
< prev
next >
Wrap
Text File
|
1995-11-02
|
3KB
|
139 lines
Use "am_mod"
Sub Initialize
ClientMainWinClass = "WordProAppWndNT"
ClientID = AN_AMIPRO
ClientModName = "am_mod"
ClientLotusAppID = "WORDPRO"
ShowMeModName = "075"
AnimVersionNum = .64
NumFramesThisAnim = 20
AnimationType = "QuickDemo"
SampleFile = "la2n70??.lwp"
AnimName = GetString( "0750000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0751001", IResult% )
X = DoWhereIs (INSERTION_POINT,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_RBUTTONDOWN%, 0
DoMouse WM_RBUTTONUP%, 0
Exit Sub
Case 2
StepsText = GetString( "0751002", IResult% )
ShowTextBubble StepsText, 172.5, 24, NorthEast
HideTextBubble
Exit Sub
Case 3
SendCtrlKeys "{DOWN 2}{ENTER}", 100
Exit Sub
Case 4
StepsText = GetString( "0751003", IResult% )
X = DoWhereIs (0,"",1,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 5
StepsText = GetString( "0751004", IResult% )
X = DoWhereIs (0,"",PAGETYPELIST,INFOBOX_CONTROL,0,0,AN_INFOBOX)
ShowTextBubble StepsText, .5, 1, NorthEast
HideTextBubble
Exit Sub
Case 6
StepsText = GetString( "0751005", IResult% )
X = DoWhereIs (0,"",PAGEBOTTOM,INFOBOX_CONTROL,0,0,AN_INFOBOX)
ShowTextBubble StepsText, 2, 0, NorthEast
HideTextBubble
Exit Sub
Case 7
X = DoWhereIs (0,"",PAGETOP,INFOBOX_CONTROL,0,0,AN_INFOBOX)
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 8
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 9
SendTextKeys GetString( "0752009", IResult% ), 50
Exit Sub
Case 10
X = DoWhereIs (0,"",PAGELEFT,INFOBOX_CONTROL,0,0,AN_INFOBOX)
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 12
SendTextKeys GetString( "0752012", IResult% ), 50
Exit Sub
Case 13
X = DoWhereIs (0,"",PAGERIGHT,INFOBOX_CONTROL,0,0,AN_INFOBOX)
MoveToObjRel 51 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 14
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 15
SendTextKeys GetString( "0752015", IResult% ), 50
Exit Sub
Case 16
X = DoWhereIs (0,"",PAGEBOTTOM,INFOBOX_CONTROL,0,0,AN_INFOBOX)
MoveToObjRel 25 , 50
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 17
SendCtrlKeys "{end}+{HOME}{DEL}", 100
Exit Sub
Case 18
SendTextKeys GetString( "0752018", IResult% ), 50
Exit Sub
Case 19
MoveToObjRel 200 , 0
Exit Sub
Case 20
X = DoWhereIs (0,"",7,INFOBOX_TAB,0,0,AN_INFOBOX)
MoveToObjRel 120 ,-75
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
End Select
End Sub