You are right! I have lived to long in the Mac world and did not think of a
mouse with more than one button. This script will work though:
In the button sending the mouseUp:
dispatch mouseUp to button "BASH" with 1,true
In the button receiving the mouseUp call:
on mouseUp pButton pAltKey
if pAltKey then
answer "Alt key was down"
answer "Alt key was up"
> 8. aug. 2017 kl. 20:23 skrev J. Landman Gay via use-livecode
> On 8/8/17 11:05 AM, Tore Nilsen via use-livecode wrote:
>> And change the script in the BASH button to something like this:
>> on mouseUp pAltKey
>> if pAltKey then
>> answer "Alt key was down"
>> answer "Alt key was up"
>> end if
>> end mouseUp
> This will error. The parameter is always an integer representing the mouse
> button that was pressed.
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> use-livecode mailing list
> Please visit this url to subscribe, unsubscribe and manage your subscription
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription