It is a work-in-progress, but I've decided to publish it here in the forums. Mostly because I like publishing stuff . But also because I dislike keeping my work in one place, in case it gets damaged, deleted or lost (dread the thought).
There are probably many similar tools already in the forums, but I couldn't be bothered looking for one to use
I decided to write this tool after years of writing small adhoc scrap pieces of script to interrogate IE and it's DOM elements. I've reached the point where I can't handle doing this anymore, and would prefer to always have a tool there to do this work.
When I began using AutoIT in 2008 I started my own toolkit of IE functions called "Toolkit.au3". I've been using this toolkit ever since, building and adapting it slowly to cope with the automation of new and different applications. The toolkit is far from complete, but it suits my needs at any point in time. My new GUI Inspector compliments the toolkit, using it's functions where possible, and eventually I hope to have it output lines of script that can be pasted into other scripts to help in automation. It's got a long way to go.
I haven't decided yet whether to version control this. For the moment I'm simply attaching the script below, with a brief explanation on how it works if anyone's interested in trying it out.
Toolkit.au3 41.74KB 551 downloads
GUI Inspector.au3 49.07KB 531 downloads
Copy the two attachments above to a folder of your choice, and run "GUI Inspector.au3". A GUI will be displayed. By default the GUI will be setup to query the Google search page.
There are 4 main panels / sections to the GUI:
- the Attach section
- the Querying (tabbed) section
- the Output section
- other buttons at the bottom
Future enhancements will include:
- Search facilities
- Multiple Output tabs will compare facilities to highlight difference between similar web pages
- Script output facilities, to generate the script necessary to access the same objects within your own scripts
Edited by seangriffin, 14 June 2010 - 02:17 PM.