Using linkText
Jim Ault
jimaultwins at yahoo.com
Thu Jul 7 17:09:01 EDT 2011
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
More information about the use-livecode
mailing list