Nanascalala Posted September 18, 2005 Share Posted September 18, 2005 (edited) Erp. Figured it out! StatusBarGet under the control commands! Sorry about this! Now the question is, how do you Control send to hit the submit button? IE/Html UDF? Some function? Help? Thanks Edited September 18, 2005 by Nanascalala Link to comment Share on other sites More sharing options...
Excalibur Posted September 18, 2005 Share Posted September 18, 2005 Perhapse you could do a search for a button that has "submit" on it... or if your planning on doing the same page... use the Window Info and grab the button ID, and controlSend({SPACEBAR}) <---- might not be the exact code, im REALLY tired. and if that doesnt work, you can make that object active, and then just Send({SPACEBAR}). the space bar would activate the button. Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein Link to comment Share on other sites More sharing options...
Nanascalala Posted September 18, 2005 Author Share Posted September 18, 2005 How would I get the Window info for the button? The text on it is "Click Here to Continue" thanks Link to comment Share on other sites More sharing options...
Valuater Posted September 18, 2005 Share Posted September 18, 2005 (edited) AU3Info.exe it's in the autoit directory on your computer 8) Edited September 18, 2005 by Valuater Link to comment Share on other sites More sharing options...
Nanascalala Posted September 18, 2005 Author Share Posted September 18, 2005 (edited) Hehe, I got that far... All it shows is that the button is within the classname: Internet Explorer_Server1 I still can't figure out how to target the button! and whats the Controlid for Internet Explorer? Edited September 18, 2005 by Nanascalala Link to comment Share on other sites More sharing options...
Excalibur Posted September 18, 2005 Share Posted September 18, 2005 You do realize there is an EXELENT help file that comes with AutoIt right? Ooo Ëxçã¿îbúr ooO"Information Is Not Knowledge." ~Albert Einstein Link to comment Share on other sites More sharing options...
DaleHohm Posted September 18, 2005 Share Posted September 18, 2005 Controls inside an HTML page are not accessible in the same way that Win32 application window controls are. You can click using screen coordinates or you can give focus to the window and send TABs until you are on the button and then send a SPACE... Or, you can learn to see the Document Object Model (DOM) to access and manipulate nearly any object on the page... see the IE Automation UDF LibraryDaleErp. Figured it out! StatusBarGet under the control commands! Sorry about this!Now the question is, how do you Control send to hit the submit button?IE/Html UDF? Some function? Help?Thanks Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble 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