12-17-2007, 11:13 PM
With the code below I keep receiving the error: Error (RT) in Red Wings: array is not created
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[1])
,mes Message "Red wings Game" "isa"
Any idea why? I tried removing the [1] from game and then the message will work but I receive the word [null], instead of the team thats playing.
Taking on Quick Macros one day at a time