Please suggest script
Mike Bonner
bonnmike at gmail.com
Wed Nov 17 13:38:44 EST 2010
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 textstyle of the selectedchunk to link
end mouseUp
And for the field:
on mouseUp
if the textstyle of the clickchunk is "link" then
launch url the clicktext
end if
end mouseUp
On Wed, Nov 17, 2010 at 11:36 AM, Phil Davis <revdev at pdslabs.net> wrote:
> 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 Labs
> Professional Software Development
> http://pdslabs.net
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list