vijay44
User
Offline
Posts: 18
|
 |
« on: February 08, 2010, 09:08:37 AM » |
|
Hi, This post is different with the last one.
set WbLink = Description.Create() WbLink("micclass").Value = "Link" WbLink("name").Value = "o"
wbLink("href").Value=".*comments\'.*"
There are 2 links, the problem here is to identify the links comments and ports. when i filter childobjects by comments, its even giving the childobjects of ports too.
i want to filter the childobjects of comments The "href" property of comments:javascript:Overwrite('comments','0','2') while the "href" property of ports is: javascript:Overwrite('port','0','2') Any help will be really appreciated. Regards; viajy
|
|
|
|
|
Logged
|
|
|
|
|
Asiq Ahamed
|
 |
« Reply #1 on: February 08, 2010, 09:30:37 AM » |
|
|
|
|
|
|
Logged
|
|
|
|
vijay44
User
Offline
Posts: 18
|
 |
« Reply #2 on: February 08, 2010, 09:18:13 PM » |
|
Hi, I was able to resolve the previous one Set WbLink = Description.Create() WbLink("micclass").Value = "Link" WbLink("name").Value = "o" wbLink("href").Value=".*process\'.*"
Any help in this issue will be really appreciated.
Regards; vijay
|
|
|
|
|
Logged
|
|
|
|
|
Asiq Ahamed
|
 |
« Reply #3 on: February 08, 2010, 09:34:53 PM » |
|
Hi Vijay, Can you post the exact code what you have tried? Have you tried with regular expression?
|
|
|
|
|
Logged
|
|
|
|
vijay44
User
Offline
Posts: 18
|
 |
« Reply #4 on: February 08, 2010, 09:52:07 PM » |
|
Hi, No, the problem here was to filter the child objects. i was able to solve Set WbLink = Description.Create() WbLink("micclass").Value = "Link" WbLink("name").Value = "o" wbLink("href").Value=".*process\'.*" -->By changing this i was able to achieve using this--->it only filters the process child objects.The conditional statements were right
such similar issue is with
set WbLink = Description.Create() WbLink("micclass").Value = "Link" WbLink("name").Value = "o"
wbLink("href").Value=".*comments\'.*"
There are 2 links, the problem here is to identify the links comments and ports. when i filter childobjects by comments, its even giving the childobjects of ports too.
i want to filter the childobjects of comments The "href" property of comments:javascript:Overwrite('comments','0','2') while the "href" property of ports is: javascript:Overwrite('port','0','2') Any help will be really appreciated. Regards; Vijay
|
|
|
|
|
Logged
|
|
|
|
|