For example:
Name:
Click here (link)
Name:
Click here (link)
tLink is the url loaded within the repeat
Code: Select all
set the textStyle of ... to link
set the linkText of .... to tLink
Thak you,
Cassidy
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
set the textStyle of ... to link
set the linkText of .... to tLink
Code: Select all
repeat with i = 1 to the num of lines of fld 1
if "http" is in line i of fld 1 then
set the textstyle of char 1 to -1 of line i of fld 1 to link
set the linktext of char 1 to -1 of line i of fld 1 to (line i of fld 1)
end if
end repeat