TerarinKerowyn Posted July 22, 2008 Share Posted July 22, 2008 I need help on finding a programs ID number out of Win32.Process then getting each of the process ID and search in the application for tabbed data. Contact via MSN: [email=terarink_msn@hotmail.com]terarink_msn@hotmail.com[/email], yahoo: terarink_yah Link to comment Share on other sites More sharing options...
ptrex Posted July 22, 2008 Share Posted July 22, 2008 @TerarinKerowyn This might get you started. Dim Const $wbemFlagReturnImmediately = 0x10 Dim Const $wbemFlagForwardOnly = 0x20 $oWMIService = ObjGet("winmgmts:\\" & @ComputerName & "\root\CIMV2") If Not @error Then $oItems = $oWMIService.ExecQuery("SELECT * FROM Win32_Process", "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly) For $Item In $oItems ConsoleWrite("Name: " & @tab & @tab& @tab& "ProcessId: " & @tab & "CommandLine: " & @tab & @LF) ConsoleWrite($Item.Name & @tab & @tab& $Item.ProcessId & @tab& @tab & $Item.CommandLine & @LF) Next EndIf Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
TerarinKerowyn Posted July 22, 2008 Author Share Posted July 22, 2008 I already have the entire list of win32.process but now with this information how to ensure the object is webpage and how to find other webpages in the same image. I am running vista so something is wrong with the Shell.Application when you have two or more windows open at the same time. The cause of this thing is it is reading the same handle over and over again for as many times as it is viewed open. But win32.process gives you the applications handle (two or more different handle numbers) Was just thinking that is the easiest way of accomplishing my feat any help would be helpful in finding how to fix this Contact via MSN: [email=terarink_msn@hotmail.com]terarink_msn@hotmail.com[/email], yahoo: terarink_yah Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now