SHIFTkey "Fun"

dunbarx at aol.com dunbarx at aol.com
Wed May 9 15:35:45 EDT 2012


Peter,


You only get one rawKeyDown, followed by one keyDown.


The message watcher, which usually floods with events every time you breathe, shows nothing at all for any of the four control keys on a Mac.


Craig



-----Original Message-----
From: Peter Haworth <pete at lcsql.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, May 9, 2012 3:19 pm
Subject: Re: SHIFTkey "Fun"


Richmond,
I don;t know if this helps your application or not but the dictionary says
that on Macs those keys don't result in rawkeydow, UNLESS another key is
pressed at the same time.  Not sure if you then get 2 rawkeydown events or
what.
Pete
lcSQL Software <http://www.lcsql.com>



On Wed, May 9, 2012 at 12:06 PM, Richmond <richmondmathewson at gmail.com>wrote:

> Try this rather simple exercise:
>
> Make yourself a stack with 1 field called "OUTPUTX"
>
> and put this into the card script:
>
> on rawKeyDown RAWK
>  put RAWK into fld "OUTPUTX"
> end rawKeyDown
>
> and play with the thing.
>
> On Linux, when I press the SHIFTkey I get 65505; a similar sort of thing
> with Windows; but with Macintosh - nothing at all.
>
> The same holds true for the ALT, CTRL, CAPS-LOCK and ALT keys. Why Mac is
> so bloody-minded I just don't know; but 'tis a big nuisance.
>
> AND . . . there's the rub.
>
> ______________________________**_________________
> 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<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
_______________________________________________
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