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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to