Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a window
Message
De
17/02/2000 15:54:42
 
 
À
17/02/2000 15:17:59
Information générale
Forum:
Visual Basic
Catégorie:
VBScript
Divers
Thread ID:
00333092
Message ID:
00333700
Vues:
14
>>>>How can I close an existing window that was open during startup using vbscript
>>>>
>>>
>>>Depending on the application that opened the Window, using the Wscript.Shell's AppActivate and SendKeys, mechanism, or manipulation via the Shell.Application's Windows collection may both work.
>>
>>The window is a command prompt window (it's a batch file that is placed in the startup folder).
>>
>
>Add an Exit statement to the end of the batch file

This doesn't work and the reason is that I have a batch file that calls another batch file ( this is done so that I don't have to login to a users system as admin to edit the first batch file yada yada) and that batch file is starting groupwise notify therefore the first batch file window remains open until I explicitely close it.

Claude
Claude Gosselin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform