"send mouseUp to…" vs "click at the loc of..".

J. Landman Gay jacque at hyperactivesw.com
Fri Jan 3 15:28:46 EST 2014


On 1/3/14 12:36 PM, Richmond wrote:
>
> now btn "XYZ" contains a function:
>
> function BlastMySocks
>     put "socks blasted"
> end BlastMySocks
>
> and when I put this into the script of my other button:
>
> on mouseUp
>    dispatch function "BlastMySocks"
> end mouseUp
>
> the function is executed
>
> THAT is not possible with 'send'

True, but this works:

on mouseup
   put value("blastMySocks()",btn "XYZ")
end mouseup

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list