SHIFTkey "Fun"
dunbarx at aol.com
dunbarx at aol.com
Wed May 9 16:23:47 EDT 2012
Richmond.
I'm with you. The "KeyCap" utility would show a screen keyboard, and a keypress (or combo) would darken the associated key(s) on screen. All control keys worked, and for good measure, the characters on the screen keyboard would change to show the modified character.
So even if LC does not send a message, the Mac certainly does.
I tried this on Rev 2.0 on OS9.1. No messages sent there either. So it is a LC thing.
Craig
-----Original Message-----
From: Richmond <richmondmathewson at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, May 9, 2012 3:40 pm
Subject: Re: SHIFTkey "Fun"
On 05/09/2012 10:35 PM, dunbarx at aol.com wrote:
> 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.
At the risk of looking like a 4 year old: Why?
>
>
> 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
>
>
>
> _______________________________________________
> 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
_______________________________________________
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