politrok Posted May 25, 2011 Share Posted May 25, 2011 Hi , When i run this script i get "no forms" #include <IE.au3> Opt("WinTitleMatchMode", 2) $oIE = _IECreate ("SOMEURL") $oForms = _IEFormGetCollection ($oIE) MsgBox(0, "Forms Info", "There are " & @extended & " forms on this page") For $oForm In $oForms MsgBox(0, "Form Info", $oForm.name) Next How can i set a value into textbox without form? Thanks in advance , Poli . Link to comment Share on other sites More sharing options...
Juvigy Posted May 25, 2011 Share Posted May 25, 2011 Some sites may not have forms. Check the source code or use Debugbar for example. Then use _IEGetObjById or another of the IE functions. Link to comment Share on other sites More sharing options...
wakillon Posted May 25, 2011 Share Posted May 25, 2011 If you can't give url, post the source code ! It can be more helpfull... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
PsaltyDS Posted May 25, 2011 Share Posted May 25, 2011 Top level element could also be a Frame or iFrame. You might have to drill down to the Form element. Check out the page with a DOM inspector to be sure. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
politrok Posted May 26, 2011 Author Share Posted May 26, 2011 If you can't give url, post the source code !It can be more helpfull...i've posted the source code ... Link to comment Share on other sites More sharing options...
Juvigy Posted May 26, 2011 Share Posted May 26, 2011 We want source code of the Internet Page not the Ait script. Link to comment Share on other sites More sharing options...
politrok Posted May 26, 2011 Author Share Posted May 26, 2011 Thank everybody , it was on iframe . Link to comment Share on other sites More sharing options...
wakillon Posted May 26, 2011 Share Posted May 26, 2011 i've posted the source code ...No, it's the script code... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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