home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 November
/
Pcwk1197.iso
/
LOTUS
/
Eng-ins
/
SMARTCTR
/
001.LSS
next >
Wrap
Text File
|
1996-10-21
|
5KB
|
198 lines
'Copyright 1995-96, Lotus Development Corporation. All rights reserved.
%if GEMINI
Use "LTAPGN11"
Use "LTAPVN11"
%elseif IBM_OS2
Use "LTAPGO11"
Use "LTAPVO11"
%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 = "001"
AnimVersionNum = 2.32
NumFramesThisAnim = 22
AnimationType = "QuickDemo"
SampleFile = "sc8en.123"
AnimName = GetString( "0010000", IResult% )
End Sub
Public Sub ShowMe (theNextStep As Integer)
GetCursorPos TempPos
CursorPosForStep(theNextStep) = TempPos
Select Case theNextStep
Case 1
StepsText = GetString( "0011001", IResult% )
StartAppFromSC AN_GEMINI, "sc8en.123"
Exit Sub
Case 2
StepsText = GetString( "0011002", 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( "0011003", IResult% )
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem DtEditCopy_g
Exit Sub
Case 5
StepsText = GetString( "0011004", IResult% )
StartAppFromSC AN_AVERY, "curve.prz"
Exit Sub
Case 6
StepsText = GetString( "0011005", IResult% )
X = DoWhereIs (GUTTER_CONTROL_V,"",NEW_PAGE_BUTTON_V,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 7
StepsText = GetString( "0011006", IResult% )
Delay 500
X = DoWhereIs (DIALOG_CONTROL_V,"",9,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
SendCtrlKeys "{HOME}", 100
Exit Sub
Case 8
SendCtrlKeys "{DOWN 9}", 100
Exit Sub
Case 9
SendCtrlKeys "{ENTER}", 100
Exit Sub
Case 10
StepsText = GetString( "0011007", IResult% )
X = DoWhereIs (DRAW_OBJ_V,"",PAGE_BKGND_V,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( "0011008", IResult% )
Delay 1000
X = DoWhereIs (DIALOG_CONTROL_V,"",&HD4,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 12
StepsText = GetString( "0011009", IResult% )
Delay 1000
X = DoWhereIs (DIALOG_CONTROL_V,"",217,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, SouthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 13
Delay 250
SendCtrlKeys "{BS}", 100
Exit Sub
Case 14
Delay 250
SendTextKeys GetString( "0012014", IResult% ), 50
Exit Sub
Case 15
X = DoWhereIs (DIALOG_CONTROL_V,"",218,0,0,0,ClientID)
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 16
Delay 250
SendCtrlKeys "{BS}", 100
Exit Sub
Case 17
Delay 250
SendTextKeys GetString( "0012017", IResult% ), 50
Exit Sub
Case 18
StepsText = GetString( "0011010", IResult% )
X = DoWhereIs (DIALOG_CONTROL_V,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
MoveToObj Center
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 19
StepsText = GetString( "0011011", IResult% )
Delay 2000
X = DoWhereIs (DRAW_OBJ_V,"",1,0,0,0,ClientID)
ShowTextBubble StepsText, .05, .05, NorthEast
HideTextBubble
MoveToObjRel 5 , 5
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 20
StepsText = GetString( "0011012", IResult% )
Delay 500
SetBubblePosforMenus
ShowTextBubble StepsText, .5, .5, NorthEast
HideTextBubble
ChooseMenuItem Edit_Paste_v
Exit Sub
Case 21
X = DoWhereIs (DRAW_OBJ_V,"",PAGE_BKGND_V,0,0,0,ClientID)
MoveToObjRel 15 , 15
DoMouse WM_LBUTTONDOWN%, 0
DoMouse WM_LBUTTONUP%, 0
Exit Sub
Case 22
Delay 2000
Exit Sub
End Select
End Sub