Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a.find Multiple Numbers
#1
Is there a more efficient way to do this?

Macro macro77
Code:
Copy      Help
,a.Find(w1 "TEXT" "" "value=$0[]state=0x100000 0x20000040" 0x3014)
,err
,,spe
,,a.Find(w1 "TEXT" "" "value=$1[]state=0x100000 0x20000040" 0x3014)
,,err
,,,spe
,,,a.Find(w1 "TEXT" "" "value=$2[]state=0x100000 0x20000040" 0x3014)
,,,err
,,,,spe
,,,,a.Find(w1 "TEXT" "" "value=$3[]state=0x100000 0x20000040" 0x3014)
,,,,err
,,,,,spe
,,,,,a.Find(w1 "TEXT" "" "value=$4[]state=0x100000 0x20000040" 0x3014)
,,,,,err
,,,,,,spe
,,,,,,a.Find(w1 "TEXT" "" "value=$5[]state=0x100000 0x20000040" 0x3014)
,,,,,,err
,,,,,,,spe
,,,,,,,a.Find(w1 "TEXT" "" "value=$6[]state=0x100000 0x20000040" 0x3014)
,,,,,,,err
,,,,,,,,spe
,,,,,,,,a.Find(w1 "TEXT" "" "value=$7[]state=0x100000 0x20000040" 0x3014)
,,,,,,,,err
,,,,,,,,,spe
,,,,,,,,,a.Find(w1 "TEXT" "" "value=$8[]state=0x100000 0x20000040" 0x3014)
,,,,,,,,,err
,,,,,,,,,,spe
,,,,,,,,,,a.Find(w1 "TEXT" "" "value=$9[]state=0x100000 0x20000040" 0x3014)
#2
Use regular expression.
#3
I'm not sure why I was over thinking it in my head. I attempted a similar way that would work with findrx, but overlooked a very simple option. Thanks!


Forum Jump:


Users browsing this thread: 1 Guest(s)