Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Findrx Problem.
#12

Going back to this, anyone good with findrx want to help me out? I'm struggling to get this to find the information, and i'm not sure what i'm doing wrong.


Macro ( Red Wings )
Code:
Copy      Help
str Src Message url  
ARRAY(str) Game
url.from("http://redwings.nhl.com/")

IntGetFile url Src
Src.setclip
if findrx(Src "<DIV class=teamName></DIV>" 0 0 Game)
,Message.formata("%s %s" "Red wings vs." Game)
,mes Message "Red wings Game" "isa"


And here I tried it with the other Teams name, yet it still doesn't find the text.

Macro ( Red Wings )
Code:
Copy      Help
str Src Message url  
ARRAY(str) Game
url.from("http://redwings.nhl.com/")

IntGetFile url Src
Src.setclip
if findrx(Src "<DIV class=teamName>Colorado</DIV>" 0 0 Game)
,Message.formata("%s %s" "Red wings vs." Game)
,mes Message "Red wings Game" "isa"

Any help is greatly appreciated.
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)