Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OR conditions in Description.Create()
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
is it possible in some way to define the properties in the description.create with OR conditions? for example:

Code:
Dim descrLink, objLink
Set descrLink = Description.Create()
    descrLink("Class Name").value="Link"
    descrLink("target").value="_top" or descrLink("target").value="_blank"
Set objLink = pag.ChildObjects(descrLink)

If i don't use target as property, i'll extract also links with target = "".
The only way is to use 2 distinct objects with different target?

thanks
Reply


Messages In This Thread
OR conditions in Description.Create() - by stevol - 07-21-2008, 02:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question adding two conditions into a while statement lotos 4 5,072 11-10-2017, 04:49 AM
Last Post: lotos
  How to find out the object property in the Description language . njnirmal 9 6,661 05-19-2015, 12:30 AM
Last Post: qtptester66523
  vb script to stop execution of functions if conditions fail visitjaga 1 7,380 12-05-2013, 12:26 AM
Last Post: ravi.gajul
  Description.Create with same propertie and different values, not working ttralor 2 2,482 01-13-2013, 12:11 AM
Last Post: ttralor
  Error while creating object using description.create object in VB script SarodeGirish 5 6,251 06-19-2012, 05:30 PM
Last Post: ssvali

Forum Jump:


Users browsing this thread: 1 Guest(s)