PDA

View Full Version : Anyway to convert uncoded links to coded?


cdlink14
04-02-2009, 01:10 PM
Is there anyway I can either paste, or open a txt/rtf file with uncoded links, and have it export them as coded ( so I can click to download ) in a html file?

hliobasilema
04-02-2009, 10:56 PM
There is a AutoDetectURL property in richtext objects that if true URLs are set to be automatically detected in the object.

If i understood you good that should help

cdlink14
04-03-2009, 06:38 AM
I've tried that, it just highlights them. Doesn't make them actually work ( in AMS, or in wordpad... ).

TopicTJ
04-03-2009, 07:01 AM
1) Assuming you have a Web Object we'll call Web1

2) Set the Rich Text object to auto-detect URL

3) In the On Link script window use
Web.LoadURL("Web1", ""..e_Link)

and you should be OK.


TTJ

cdlink14
04-03-2009, 07:26 AM
1) Assuming you have a Web Object we'll call Web1

2) Set the Rich Text object to auto-detect URL

3) In the On Link script window use
Web.LoadURL("Web1", ""..e_Link)

and you should be OK.


TTJ
Thank's you, that worked.

ShadowUK
04-03-2009, 09:45 AM
1) Assuming you have a Web Object we'll call Web1

2) Set the Rich Text object to auto-detect URL

3) In the On Link script window use
Web.LoadURL("Web1", ""..e_Link)

and you should be OK.


TTJ

Hahaha what?

Web.LoadURL("Web1", ""..e_Link)

why not just do

Web.LoadURL("Web1", e_Link)

TopicTJ
04-03-2009, 11:06 AM
Hahaha what?

Web.LoadURL("Web1", ""..e_Link)

why not just do

Web.LoadURL("Web1", e_Link)

You right better code but I was quicker :D

Imagine Programming
04-03-2009, 06:50 PM
....but I was quicker :D

dunno, but perhaps because he replied to you lol :p