tore.nilsen at me.com
Tue Aug 8 12:05:00 EDT 2017
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"
> 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
> 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:
>>> send "mouseUp" with altkey(down) to btn "BASH"
>>> can it be done?
>>> and if so, how?
>> Look up the 'click' command in the dictionary :)
>> Warmest Regards,
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode