the siglum key ???

Mike Bonner bonnmike at gmail.com
Thu Oct 28 16:20:04 EDT 2010


*slaps forehead*  I need to learn to read.

However, have you done something as simple as

on rawKeyDown theKey
put theKey
end rawKeyDown

to see what code is actually being sent?

If you aren't going for a specific key other than the one in the upper left
of the keyboard, and keyboards differ, I've no clue how one would go about
determining the keycode for that key position other than maybe asking the
user to push it once during setup to capture the code.

On Thu, Oct 28, 2010 at 1:43 PM, Richmond <richmondmathewson at gmail.com>wrote:

> On 10/28/2010 10:22 PM, Mike Bonner wrote:
>
>> I put this in a button script:
>> on mouseUp
>>    put any item of "random,Silly,Phrase" into field 1
>> end mouseUp
>>
>> And this in the cardscript:
>> on keydown theKey
>>    if theKey is "`" then
>>       send "mouseup" to button 1
>>    else
>>       pass KeyDown
>>    end if
>> end keydown
>>
>> It works for me, so not sure whats up on your end.
>>
>
> What is "up on" my end is that I don't want to refer to "`" or siglum, but
> to
> rawKeyDown 0, as a very large number of my end-users use non-QWERTY
> keyboards,
> or, at least, non-QWERTY keyboard layouts.
>
>
>
>> On Thu, Oct 28, 2010 at 1:00 PM, Richmond<richmondmathewson at gmail.com
>> >wrote:
>>
>>  [Hope this subject line doesn't throw a 'bluey']
>>>
>>> If I have a button that contains something like this:
>>>
>>> on mouseUp
>>>   put "silly phrase" into fld "XXX"
>>> end mouseUp
>>>
>>> it works . . .
>>>
>>> Now if I set up a card script so that when I hit the 'Q' key on my
>>> keyboard
>>> a "mouseUp" is sent to my button, it works.
>>>
>>> HOWEVER
>>>
>>> If I set up a card script so that when I hit the SIGLUM key [Top-Left;
>>> next
>>> to '1']
>>> a "mouseUp" is sent to my button, I get a SIGLUM in my field,
>>> not "silly phrase".
>>>
>>> This is a bl**dy nuisance; any ideas WHY and HOW to circumvent this
>>> problem?
>>>
>>> sincerely, Richmond.
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>>  _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the Use-livecode mailing list