let Posted October 1, 2008 Share Posted October 1, 2008 (edited) Func _GetTextReply($YahooWin) Local $GetTextReply WinWaitNotActive($YahooWin,"") $GetTextReply = ControlGetText($YahooWin,"","YHTMLContainer1") If $GetTextReply = "" Or $GetTextReply = 0 Then Return 0 Else Return $GetTextReply EndIf EndFunc NO result ! Why ? Edited October 1, 2008 by let Link to comment Share on other sites More sharing options...
Community On Patrol Posted October 1, 2008 Share Posted October 1, 2008 Hi let, You've been warned about using one word to create a topic, and how it effects the usage of this forum. Please help us keep this forum a great place to come and find answers by using proper forum etiquette. Next time you will be reported to the moderators for abuse. Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 1, 2008 Share Posted October 1, 2008 Func _GetTextReply($YahooWin) Local $GetTextReply WinWaitNotActive($YahooWin,"") $GetTextReply = ControlGetText($YahooWin,"","YHTMLContainer1") If $GetTextReply = "" Or $GetTextReply = 0 Then Return 0 Else Return $GetTextReply EndIf EndFunc NO result ! Why ? What are the chances that a "YHTMLContainer1" control responds to standard Win32 API calls to get text? It's some kind of custom control, evidently HTML and perhaps browser based. AutoIt uses standard Win32 APIs. If the control doesn't, then AutoIt has no interface to it. Perhaps ControlFocus() and the ControlSend() with "^c"? 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...
let Posted October 1, 2008 Author Share Posted October 1, 2008 (edited) Perhaps ControlFocus() and the ControlSend() with "^c"? >_< I dont understand Edited October 1, 2008 by let Link to comment Share on other sites More sharing options...
let Posted October 1, 2008 Author Share Posted October 1, 2008 Hi let,You've been warned about using one word to create a topic, and how it effects the usage of this forum.Please help us keep this forum a great place to come and find answers by using proper forum etiquette.Next time you will be reported to the moderators for abuse.Sorry 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