| View previous topic :: View next topic |
| Author |
Message |
samir_prabhu
Joined: 01 Mar 2005 Posts: 9 Location: Bangalore,India
|
Posted: Tue Mar 01, 2005 4:28 pm Post subject: Capturing Handle of Oracle Apps Web based Forms |
|
|
Hello Friends,
We are currently developing an integration part between a workflow automation tool and an Oracle 10g server based apps forms.We have sorted out sending keystrokes to the Oracle Form loaded inside the browser,but the WinSpy doesn't recognize the controls inside that form as individual ones,so we can't send keystrokes to a particular Textbox using ie. ControlSetText.
Secondly we are facing a problem capturing error messages,which may be encountered during processin of a data transaction,and are represented in the form of either a MESSAGEBOX or STATUSBAR text.How can we capture text in both of these controls,mind you inside a Oracle 10g server web based oracle forms.
Third how can we retrieve the blinking cursor position inside a window?
Thanks in advance _________________ Samir P
"if it's stupid,but it works,then it's not stupid" |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 283 Location: Hungary, Budapest
|
Posted: Tue Mar 01, 2005 4:32 pm Post subject: |
|
|
Sadly Java GUI-s are not supported by AHK  _________________ Is there another word for synonym? |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Mar 01, 2005 4:50 pm Post subject: |
|
|
| Quote: | | Secondly we are facing a problem capturing error messages,which may be encountered during processin of a data transaction,and are represented in the form of either a MESSAGEBOX or STATUSBAR text.How can we capture text in both of these controls,mind you inside a Oracle 10g server web based oracle forms. |
I'm not sure how they'd work in a web form, but these commands work on regular windows (WinGetText for a message box, StatusbarGetText for a status bar):
WinGetText
StatusbarGetText
| Quote: | | Third how can we retrieve the blinking cursor position inside a window? |
The built-in variables A_CaretX and A_CaretY may be what you're looking for. |
|
| Back to top |
|
 |
SanskritFritz
Joined: 17 Feb 2005 Posts: 283 Location: Hungary, Budapest
|
Posted: Tue Mar 01, 2005 5:41 pm Post subject: Re: Capturing Handle of Oracle Apps Web based Forms |
|
|
| samir_prabhu wrote: | | WinSpy doesn't recognize the controls inside that form as individual ones,so we can't send keystrokes to a particular Textbox using ie. ControlSetText. | This is because Oracle uses Java. The Java GUI runs in a container, AHK does not recognise anything inside that container, because Java builds all the graphics itself. _________________ Is there another word for synonym? |
|
| Back to top |
|
 |
Serenity
Joined: 08 Nov 2004 Posts: 982
|
Posted: Tue Mar 01, 2005 6:25 pm Post subject: |
|
|
If the browser is IE you can capture message popups and statusbar text with AutoHotkey. I don't think StatusBarWait is compatible with Firefox and Opera browsers as [I think] StatusBarWait only works with classNN msctls_statusbar321. A popup in IE has a class of #32770, so perhaps IfWinActive, ControlGetText might work for those. _________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
|