Code: Select all
on mouseup
put the selectedchunk into tLink
ask question "Enter URL:"
put it into tURL
set the textstyle of tLink to "link"
set the linktext of tLink to tURL
end mouseup
Thanks for your reply or replies.
Monty
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
on mouseup
put the selectedchunk into tLink
ask question "Enter URL:"
put it into tURL
set the textstyle of tLink to "link"
set the linktext of tLink to tURL
end mouseup
Code: Select all
put the htmltext of fld 1 into URL ("file:"&gPath&"guides"&"/"&tTopic&".txt")
Code: Select all
on mouseup
put the selectedchunk into tLink
ask question "Enter URL:"
put it into tURL
## !!
put tURL ## into fld "test"
## !!
set the textstyle of tLink to "link"
set the linktext of tLink to tURL
end mouseup