08-20-2010, 03:48 AM
I was able to use device replay for double click and code it successfully.
Here is the sample code -
Thanks for your prompt responses.
Here is the sample code -
Code:
OracleFormWindow("Maintain Orders").OracleTextField("User Fields").SetFocus
X=OracleFormWindow("Maintain Orders").OracleTextField("User Fields").GetROProperty("abs_x")
Y=OracleFormWindow("Maintain Orders").OracleTextField("User Fields").GetROProperty("abs_y")
Set Dr = CreateObject("Mercury.DeviceReplay")
Dr.MouseMove x, y
Wait 1
Dr.MouseDblClick x, y, 0