AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Capturing Handle of Oracle Apps Web based Forms

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
samir_prabhu



Joined: 01 Mar 2005
Posts: 9
Location: Bangalore,India

PostPosted: Tue Mar 01, 2005 4:28 pm    Post subject: Capturing Handle of Oracle Apps Web based Forms Reply with quote

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
View user's profile Send private message Yahoo Messenger
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Tue Mar 01, 2005 4:32 pm    Post subject: Reply with quote

Sadly Java GUI-s are not supported by AHK Sad
_________________
Is there another word for synonym?
Back to top
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Mar 01, 2005 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
SanskritFritz



Joined: 17 Feb 2005
Posts: 283
Location: Hungary, Budapest

PostPosted: Tue Mar 01, 2005 5:41 pm    Post subject: Re: Capturing Handle of Oracle Apps Web based Forms Reply with quote

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
View user's profile Send private message
Serenity



Joined: 08 Nov 2004
Posts: 982

PostPosted: Tue Mar 01, 2005 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group