Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to launch Task Manager?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00720758
Message ID:
00720770
Vues:
10
>
! /N taskmgr
>
>This works under NT/2K/XP. You could use SendKeys and AppActivate from the WSH to select the task manager window and select the Performance tab - you'd have to play around to find the correct window title for AppActivate() and which keystroke to send to select the performance tab.

Thanks, this works:
WshShell = CreateObject("WScript.Shell")
WshShell.Run("TaskMgr")
But as the tab captions don't have hotkeys and the dialog has memory (it displays using the last configuration used) it seems that it will be impossible to show the performance tab programatically.

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform