01-08-2008, 12:45 AM
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 )
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 )
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