05-02-2012, 04:55 PM
Try this :-
Code:
Set SelectionPath = Javawindow("").JavaObject("").Object.GetSelectionPath()
Set rect = Javawindow("").JavaObject("").Object.GetPathBounds(SelectionPath)
x=rect.x
y=rect.y
Javawindow("").JavaObject("").Click Cstr(x),Cstr(y),"RIGHT"