Simulating a right click to open a link in a new window does not require descriptive programming.
Here is the code:
url = Browser("IT Resource Center forums_2").Page("IT Resource Center forums").Link("Henry Floyd").GetROProperty("url")
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE",url,"","open"
Method :2
object.FireEvent "oncontextmenu"
Here is the code:
url = Browser("IT Resource Center forums_2").Page("IT Resource Center forums").Link("Henry Floyd").GetROProperty("url")
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE",url,"","open"
Method :2
object.FireEvent "oncontextmenu"
0 comments:
Post a Comment