Leslie Nielsen

Tore Nilsen tore.nilsen at me.com
Tue Aug 8 12:02:55 EDT 2017


Try this:
dispatch mouseUp to button "BASH" with true

Regards Tore

> 8. aug. 2017 kl. 17:54 skrev Richmond Mathewson via use-livecode <use-livecode at lists.runrev.com>:
> 
> That's marvellous . . .
> 
> as far as it goes:
> 
> click at the loc of btn "BASH" with altKey
> 
> The only "snag" is that that calls BOTH of the scripts in btn "BASH" ( mouseDown & mouseUp )
> 
> and I really only want to 'get' mouseUp
> 
> Richmond.
> 
> On 8/8/17 6:44 pm, Mark Waddingham via use-livecode wrote:
>> On 2017-08-08 17:41, Richmond Mathewson via use-livecode wrote:
>>> I can send a command to a button like this:
>>> 
>>> send "mouseUp" to btn "BASH"
>>> 
>>> BUT I want to fake having the altKey pressed as well:
>>> 
>>> pseudocode
>>> 
>>> send "mouseUp" with altkey(down) to btn "BASH"
>>> 
>>> can it be done?
>> 
>> Yes.
>> 
>>> and if so, how?
>> 
>> Look up the 'click' command in the dictionary :)
>> 
>> Warmest Regards,
>> 
>> Mark.
>> 
> 
> _______________________________________________
> 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




More information about the use-livecode mailing list