autoitxp Posted November 25, 2008 Share Posted November 25, 2008 Hi hi guyz how to get windows input fields detected like i want to get all list of internal windows input Fileds is it possible ? Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 25, 2008 Share Posted November 25, 2008 First, please delete one of your topics. I'm going to give you the benefit of the doubt and say you got a 500 error and that's the reason for the double post. Second, you can use the Window Info Tool to detect control names and work from there. Post a screenshot or articulate your request better to get more help. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
autoitxp Posted November 25, 2008 Author Share Posted November 25, 2008 (edited) lol my browser do such thing i click on submit and it sent 2 posts and which function to detect that ? Edited November 25, 2008 by autoitxp Link to comment Share on other sites More sharing options...
darzanmihai Posted November 25, 2008 Share Posted November 25, 2008 lol my browser do such thing i click on submit and it sent 2 postsand which function to detect that ?START->Run->Au3info.exe->EnterThis is the window info tool. It will give you all details you need to manipulate other window controls. I do not like stupid and idiot people that write idiot things...If you are one, do not write. Link to comment Share on other sites More sharing options...
rasim Posted November 25, 2008 Share Posted November 25, 2008 Hi hi guyz how to get windows input fields detected like i want to get all list of internal windows input Fileds is it possible ?Try this: #include <Array.au3> ;Only for _ArrayDisplay Dim $aWindows = WinList() Dim $aMatch[1][2] Dim $sClass For $i = 1 To $aWindows[0][0] $sClass = WinGetClassList($aWindows[$i][1]) If (StringInStr($sClass, "Edit") > 0) And ($aWindows[$i][0] <> "AutoIt v3") Then $aMatch[0][0] += 1 ReDim $aMatch[$aMatch[0][0] + 1][2] $aMatch[$aMatch[0][0]][0] = $aWindows[$i][1] $aMatch[$aMatch[0][0]][1] = $aWindows[$i][0] EndIf Next _ArrayDisplay($aMatch) Link to comment Share on other sites More sharing options...
autoitxp Posted November 25, 2008 Author Share Posted November 25, 2008 well this not going to slove my problem . i got stucked at one point . actually i have web form with several Input Fields . like First name , Last name etc i donno how to detect when user Tabbed or clicked on other Input Field . simply want to pop up msg when user fill one field and tabbed or click on other Input Filed to Fill Well im not using Internet Explorer I use Firefox so cannot use _IE functions kind help me. Link to comment Share on other sites More sharing options...
ken82m Posted November 25, 2008 Share Posted November 25, 2008 Well web browsers are different. the form controls are not seen as seperate objects to windows. Windows and AutoIT see the whole web page area as one object. So it can't manipulate then the way other windows controls can be The _IE functions were createdto use dll's within windows that can interact with the page controls. However nobody has create anything like that for FireFox that I'm aware of. AutoIT could watch for the tab key while the firefox windows was active. But you would have no way of knowing what they tabbed into. If it's your page I would look into adding some javascript functions to the form controls. That would do what you want. Kenny "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains." Link to comment Share on other sites More sharing options...
autoitxp Posted November 25, 2008 Author Share Posted November 25, 2008 AutoIT could watch for the tab key while the firefox windows was active.tab key can be watched using HOTKEY but what if user only use mouse to click on input fields ?well not my page and adding into page is not allowed sad :@ Link to comment Share on other sites More sharing options...
dbzfanatic Posted November 25, 2008 Share Posted November 25, 2008 There is an FF.au3 file for firefox automation. There is also the obvious _IE functions. If you are doing this for automation and not just to catch passwords/usernames then sometimes you have to just deal with using IE. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] 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