I am using VBScript. I don't need the list of processes from the task manager just what windows are currently open. I am very new to using winapi and would appreciate it if anyone could point me to some code examples. Thanks for the suggestions so far.