Dimanche 19 Mai 2024 | 05:37

Visites

:: Le Tutorial ::
 
 
Command : Compose en LotusScript | 7 Niveau : Note : 3.01/5 Votes : 691 Date : 04-12-2007 14:37
Site edités par : 2 articles vu : 715 fois Voter :

La manipulation suivante est tres interessante et permet de voir la puissance des Classes de l'environnement NotesUIWorkspace :
This form action script copies the contents of the Topic field of the current document to the Clipboard. It composes a new Memo document in HERE.NSF on server Rio (changing the value of the uidoc object), and pastes the contents of the Clipboard into the Subject field of the new document.

Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument
Call uidoc.GotoField( "Topic" )
Call uidoc.SelectAll
Call uidoc.Copy
Set uidoc = workspace.ComposeDocument _
( "Rio", "here.nsf", "Memo" )
Call uidoc.GotoField( "Subject" )
Call uidoc.Paste
End Sub


> Source : <
 
 

Publicité

Mettez ici votre publicité : contact

Votre présence

Nb de visiteurs:7397
Nb de visiteurs aujourd'hui:1
Nb de connectés:1

Partenaires

Manu_Kiscool
Site officel de son salon.
Zerafir Covoiturage
Site de covoiturage GRATUIT!!!.
 

kffir © Copyright 2003