is it possible to collapse a view using lotusscript?than you in advance!
Subject: is it possible to collapse a view using lotusscript?
Not that I’m aware of. Is it not possible to use an @command?
Rufus.
Subject: RE: is it possible to collapse a view using lotusscript?
yes, it’s possible, but not in context i need…thanks anyway!
Subject: RE: is it possible to collapse a view using lotusscript?
If you can’t use the @Command you could try this solution, although it is admittedly a bit kludgy.
hth,
dgg
Declare Sub W32SendKey Lib “user32.dll” Alias “keybd_event” ( _
Byval bVk As Integer, _
Byval bScan As Integer, _
Byval dwFlags As Integer, _
Byval dwExtraInfo As Integer _
)
Const VKEY_SHIFT = &H10
Const VKEY_OEM_MINUS = &HBD
Dim wrkspc As NotesUIWorkspace
Dim uiview As NotesUIView
Set wrkspc = New NotesUIWorkspace
Set uiview = wrkspc.CurrentView
If Not(uiview Is Nothing) Then
Call W32SendKey(VKEY_SHIFT, 0, 0, 0) '// shift key down
Call W32SendKey(VKEY_OEM_MINUS, 0, 0, 0) '// minus key down
Call W32SendKey(VKEY_SHIFT, 0, 2, 0) '// shift key up
Call W32SendKey(VKEY_OEM_MINUS, 0, 2, 0) '// minus key up
Call wrkspc.ViewRefresh()
End If
Subject: RE: is it possible to collapse a view using lotusscript?
thank you