Using linkText

Pete pete at mollysrevenge.com
Thu Jul 7 17:15:43 EDT 2011


Thanks Jim, I'll give that whirl.
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Thu, Jul 7, 2011 at 2:09 PM, Jim Ault <jimaultwins at yahoo.com> wrote:

> On Jul 7, 2011, at 1:47 PM, Pete wrote:
>
>  Is there an easy way to set/get the linkText of a chunk of text in a field
>> other than by script?  I don't think the message box works - if I select
>> the
>> text then click on the message box, the text is no longer selected - so
>> right now I have buttons on the card which set and get the linkText of
>> whatever text is selected at the time.
>>
>> Pete
>> Molly's Revenge <http://www.mollysrevenge.com>
>>
>
> I have used the following trick in the past
>
> on closefield
>   if the shiftkey is down and the controlKey is down then
>       -- and now you have the selection to work with
>      repeat until url_OK
>         ask ...
>        error check
>       end repeat
>   end if
> end closefield
>
> Hope this helps
>
> Jim Ault
> Las Vegas
>
>
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the use-livecode mailing list