>>
! /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.
If the dialog has a memory, I'd go hunting around for a registry key to set for enabling the tab; it's likely to be platform-specific, though.