vmars Posted July 15, 2009 Share Posted July 15, 2009 WinXp SysListView32 http://www.autoitscript.com/forum/index.php Greetings; I would like to capture ALL the data in a "SysListView32" control? Whenever I run a 'Windows Explorer Search', I can save the search ARGs (Files named regex.fnd), but not the results. Is there already a Script that would allow to save search results? Thanks ! ...Vern Link to comment Share on other sites More sharing options...
UberNuss Posted July 16, 2009 Share Posted July 16, 2009 In Windows XP you can save your search results to a .fnd file by using the File menu (right next to the Edit and View menus near the top of the Explorer window). What version of Windows are you using that you can't save your results? Anyway, there is a way to do this using the UDF's under GuiListView Management - like maybe _GUICtrlListView_GetItemTextArray or _GUICtrlListView_GetNextItem Das Häschen benutzt Radar. Link to comment Share on other sites More sharing options...
Yashied Posted July 16, 2009 Share Posted July 16, 2009 (edited) WinXp SysListView32 http://www.autoitscript.com/forum/index.php Link is wrong. I would like to capture ALL the data in a "SysListView32" control? Whenever I run a 'Windows Explorer Search', I can save the search ARGs (Files named regex.fnd), but not the results. Is there already a Script that would allow to save search results? Based on Melba23 example. #Include <Array.au3> #Include <GUIListView.au3> $hList = ControlGetHandle('Search Results', '', '[CLASS:SysListView32;INSTANCE:1]') Global $Count = _GUICtrlListView_GetItemCount($hList) Dim $aData[$Count] For $i = 0 to $Count - 1 $aData[$i] = _GUICtrlListView_GetItemText($hList, $i) Next _ArrayDisplay($aData) Edited July 16, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
vmars Posted July 16, 2009 Author Share Posted July 16, 2009 [quote name='Squirrely2' Anyway, there is a way to do this using the UDF's under GuiListView Management - like maybe _GUICtrlListView_GetItemTextArray or _GUICtrlListView_GetNextItem Link to comment Share on other sites More sharing options...
vmars Posted July 16, 2009 Author Share Posted July 16, 2009 Squirrely2:Actually, saving the search, only saves the ARGs of the search. So the search has to be run again with the same args. Thanks!Yashied:Thanks for the code!I can test it out later today.Btw: What are UDFs? (noooobie)...Vern 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