Leslie Nielsen

hh hh at hyperhh.de
Tue Aug 8 13:59:11 EDT 2017


> Tore wrote:
> And change the script in the BASH button to something like this:
> on mouseUp pAltKey
>   if pAltKey then
>     answer "Alt key was down"
>   else
>     answer "Alt key was up"
>   end if
> end mouseUp

Tore, we have to use a second param, e.g.

on mouseUp pButton, pAltkey

The first param is *always* the button number, so your script above
will not work if pAltkey is the first param.





More information about the Use-livecode mailing list