vbscript – WshShell.Popup

**METHOD:** `shell.Popup(text[, secondsToWait[, title[, type]]])`

**Description**
Affiche un popup avec timeout optionnel.

**Syntax**
`shell.Popup(text[, secondsToWait[, title[, type]]])`

**Paramètres**
– `text` : Texte du popup.
– `secondsToWait` : Timeout en secondes (0=attendre).

**Retour**
Code du bouton cliqué (selon `type`).

**Exemples**
« `vb
Dim shell
Set shell = CreateObject(« WScript.Shell »)
shell.Popup « Hello », 3, « pleasant.ch », 64
« `

**Voir aussi**
`MsgBox`, `WScript.Echo`

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *