SPY++を使ってNOTEPADのEditを監視しつつキーボードのAを叩くと P WM_KEYDOWN wParam:00000041 lParam:001E0001 P WM_CHAR wParam:00000061 lParam:001E0001 P WM_KEYUP wParam:00000041 lParam:001E0001
ServerName = "\\Optiplex-Gx1" Set ServiceSet = GetObject("winmgmts:" & ServerName).ExecQuery("select * from Win32_Process") for each Service in ServiceSet Call Service.GetOwner(strOwner, strDomain) WScript.Echo Service.Name & "," & strDomain & "\" & strOwner Next Set Service = Nothing Set ServiceSet = Nothing