home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
SMARTCTR
/
003.LSS
< prev
next >
Wrap
Text File
|
1996-10-21
|
3KB
|
135 lines
'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
%if GEMINI
Use "LTAPGN11"
Use "LTAPMN11"
%elseif IBM_OS2
Use "LTAPGO11"
Use "LTAPMO11"
%end if
%if GEMINI
Use "LTAPSN11"
%elseif IBM_OS2
Use "LTAPSO11"
%end if
Sub Initialize
ClientMainWinClass = SMARTCENTER_MAINWINCLASS
ClientID = AN_SMARTCEN
ClientModName = SMARTCENTER_PERSMODNAME
ClientLotusAppID = "SMARTCENTER"
ShowMeModName = "003"
AnimVersionNum = 2.32
NumFramesThisAnim = 14
AnimationType = "QuickDemo"
SampleFile = "sc8en.123"
AnimName = GetString( "0030000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0031001", IResult% )
StartAppFromSC AN_GEMINI, "sc8en.123"
Exit Sub
Case 2
StepsText = GetString( "0031002", IResult% )
X = SetTargetWindow (ToolWin_G, "sc8en.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",1,5,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
Exit Sub
Case 3
X = SetTargetWindow (ToolWin_G, "sc8en.123", ClientID, DeskwHdl.val)
X = DoWhereIs (CELL_OBJ_G,"",5, 11,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 4
StepsText = GetString( "0031003", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem DtEditCopy_g
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 5
StepsText = GetString( "0031004", IResult% )
StartAppFromSC AN_AMIPRO, "sc7en.lwp"
Exit Sub
Case 6
Delay 1000
X = RunScriptCommand (".GoToBookMark ""table""", ClientID, DeskwHdl.val )
Exit Sub
Case 7
StepsText = GetString( "0031005", IResult% )
Delay 1000
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 8
X = DoWhereIs (INSERTION_POINT_M,"",0,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 9
StepsText = GetString( "0031006", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Edit_Paste_Special_m
Exit Sub
Case 10
StepsText = GetString( "0031007", IResult% )
WaitForDialog
X = DoWhereIs (DIALOG_CONTROL_M,"",501,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 11
StepsText = GetString( "0031008", IResult% )
X = DoWhereIs (DIALOG_CONTROL_M,"",503,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
Exit Sub
Case 12
X = DoWhereIs (DIALOG_CONTROL_M,"",1,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 13
WaitForLWPNamedFrameToFill ""
Exit Sub
Case 14
Delay 3000
Exit Sub
End Select
End Sub