Re: Please suggest script

2010-11-17 Thread Andre Garzia
Tim, What you need to do is to loop your fields using a Regular Expression ( http://www.regular-expressions.info/ ) and MatchChunk to find out what chunks are URLs. Then you set the textstyle of those chunks to linktext. On the fields you intercept linkclicked and the clicked text will be the

Re: Please suggest script

2010-11-17 Thread Timothy Miller
Thanks Andre! I think you might have misunderstood my request. What I want to do is pretty simple. I will manually locate web URLs, and hilite them manually. They are in plain text. Then I want to click a button that will turn the hilited plain-text URL into a clickable link. By clickable link

Re: Please suggest script

2010-11-17 Thread Phil Davis
On 11/17/10 10:30 AM, Timothy Miller wrote: I tried: get the selectedText revGoUrl it That worked, to my amazement. Cool. Didn't know about RevGoUrl. OTOH, the docs say revGoUrl is deprecated. I'm not sure what to use instead. Try: get the selectedText launch url it -- Phil Davis PDS

Re: Please suggest script

2010-11-17 Thread Andre Garzia
On Wed, Nov 17, 2010 at 4:30 PM, Timothy Miller gand...@doctortimothymiller.com wrote: Thanks Andre! I think you might have misunderstood my request. What I want to do is pretty simple. I will manually locate web URLs, and hilite them manually. They are in plain text. Then I want to click a

Re: Please suggest script

2010-11-17 Thread Mike Bonner
I see where you're going with this. First I need to point out, if the field doesn't have locktext set, don't think it will work, BUT, if it is.. For the plainest, simplest form, no validation or anything of that sort you can do the following. In the button you can put: on mouseUp set the

Re: Please suggest script

2010-11-17 Thread Mike Bonner
Oh yeah. Do what andre said and use linkclicked. On Wed, Nov 17, 2010 at 11:36 AM, Andre Garzia an...@andregarzia.comwrote: On Wed, Nov 17, 2010 at 4:30 PM, Timothy Miller gand...@doctortimothymiller.com wrote: Thanks Andre! I think you might have misunderstood my request. What I want

Re: Please suggest script

2010-11-17 Thread Devin Asay
On Nov 17, 2010, at 11:30 AM, Timothy Miller wrote: Thanks Andre! I think you might have misunderstood my request. What I want to do is pretty simple. I will manually locate web URLs, and hilite them manually. They are in plain text. Then I want to click a button that will turn the

Re: Please suggest script

2010-11-17 Thread Andre Garzia
ho ho ho I was going to say, do what Mike said... On Wed, Nov 17, 2010 at 4:40 PM, Mike Bonner bonnm...@gmail.com wrote: Oh yeah. Do what andre said and use linkclicked. On Wed, Nov 17, 2010 at 11:36 AM, Andre Garzia an...@andregarzia.com wrote: On Wed, Nov 17, 2010 at 4:30 PM, Timothy

Re: Please suggest script

2010-11-17 Thread Andre Garzia
yes, Devin wins! On Wed, Nov 17, 2010 at 4:40 PM, Devin Asay devin_a...@byu.edu wrote: On Nov 17, 2010, at 11:30 AM, Timothy Miller wrote: Thanks Andre! I think you might have misunderstood my request. What I want to do is pretty simple. I will manually locate web URLs, and hilite them

Re: Please suggest script

2010-11-17 Thread Mike Bonner
General rule of thumb. Never do what Mike says. All my friends see this as a life rule. If Mike thinks its a good idea, or even worse, if Mike came UP with the idea, its doomed DOOMED I TELL YOU! HAHAHAHAHAHAHA (you gotta imagine the cackles) ho ho ho I was going to say, do what Mike said...

Re: Please suggest script

2010-11-17 Thread Timothy Miller
Thankya, Devin, Andre, Phil and Mike. Very helpful. I get it now. Tim ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Please suggest script

2010-11-17 Thread Timothy Miller
Thankya, Devin, Andre, Phil and Mike. Your suggestions worked out even better than expected. I have a little padlock icon near one corner of the field. It locks and unlocks the field in question, to prevent accidental erasures. Normally, the field will be locked when I am reading its contents.