Re: the siglum key ???

2010-10-30 Thread Richmond

On 10/30/2010 04:42 PM, Mike Bonner wrote:

This might be useful, or discouraging.

http://support.apple.com/kb/HT2841


Obviously designed for chaps with better eyesight than mine.

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


Re: the siglum key ???

2010-10-30 Thread Mike Bonner
This might be useful, or discouraging.

http://support.apple.com/kb/HT2841
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-30 Thread Björnke von Gierke
On 30 Oct 2010, at 09:34, Richmond wrote:

> Err . . . anybody know a way, within LiveCode/RunRev to detect an end-user's
> physical keyboard?

I am someone who uses and analyses a lot of games, where keyboard features are 
often mapped to position instead of char-output. Basically the answer to your 
question is no. Sure, there are ways to find out some information about the 
layout, but keybord layouts are not normed in any way beyond "thats how they 
always did it".

A simple example is the difference of an older swiss-german mac layout versus 
an american layout (those being the two i have here right now):

for swiss layout vs us layout:
the row that starts with q has one more key at the rightmost position
the row that starts with a has one less key at the rightmost position
the row that starts with z doesn't start with z, it starts with <, and then 
continues with y (y and z are always switched in german layouts vs us layouts).
The return key is not a double key in width, but instead a double height (with 
some adjustment to width because the rows are shifted slightly compared to each 
other, producing a hook-looking key)
Instead of a second alt key to the right of the spacebar, there's a return key 
on my ibook (newer macs don't have that anymore)
Obviously a lot of chars are mixed and moved around, for example shift- and 
then the numbers at the top (from 1 to 0):
swiss german: +"*ç%&/()=
usa: !...@#$%^&*()

now, on my windows pc (swiss german layout), there's an alt-gr key to the right 
of the spacebar, which allows the typing of funny chars like |,€,¢, etc.
there's also a windows and a menu key, which macs won't ever have (they have 
the command key instead).

And that's only comparing three keyboards that I have here. If you want to 
catalogue all keyboard layouts of the world, I'm sure you could sell big buck 
licenses to all the game developers who do this stuff on a far less 
sophisticated ground: Every user can adjust his preferred layout nilly willy, 
and only the most often seen ones are (maybe) build in. 

And then there's dvorak.

For example Starcraft 2, one of the biggest budget games of the year, has fixed 
layouts to reduce cheating vectors. these layouts are always bugged for a 
certain percent of the community, and the answer to those is: memorise or lose 
the game.


-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev";

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-30 Thread Jacques Hausser

Le 30 oct. 2010 à 13:28, Jacques Hausser a écrit :

> delete char (offset("—",-1)) of tKeyboard

sorry, it should be:  delete char (offset("—",tKeyboard)) to -1 of tKeyboard

J.

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-30 Thread Jacques Hausser

Le 30 oct. 2010 à 09:34, Richmond a écrit :

> Ugh; Apple, not content with hiding the # key from people on the East side of 
> the Atlantic
> have also been playing "silly buggers" with the physical layout of keyboards:
> 
> For instance:
> 
> My non-American (this includes my English & Arabic Mac keyboard) keyboards 
> have a
> siglum key in the top-left corner = rawKeyDown 0, and American keyboards have 
> a
> "funny apostrophe" key in the same place = rawKeyDown 96.  rawKeyDown 96 on
> the non-American keyboards is snuggled down left of the Z key.
> 
> For virtual keyboard people (like myself) working with LiveCode this is
> a right pox as, frankly, the thought of trying to set up some sort of keyboard
> detection routine followed by a "dance of the vampires" sort of arrangement
> whereby various buttons would merrily shift their position depending on the 
> keyboard
> layout gives me the willies . . .
> 
> Err . . . anybody know a way, within LiveCode/RunRev to detect an end-user's
> physical keyboard?

THAT's a really good question ! Not sure my answer is the best one:

if you

put URL "file:/library/preferences/com.apple.HIToolbox.plist" into tKeyboard 

the variable tKeyboard will contain something like:

bplist00fl 
"#$%&+-./_AppleNumberResID_AppleItlbNumber_ApplePreviousInputSource]AppleItlbKeys]Keyboard
Menu_AppleSelectedInputSources^AppleDateResID_AppleCurrentAsciiInputSource_'AppleCurrentKeyboardLayoutInputSourceID]AppleItlbDate_AppleEnabledInputSources_AppleInputSourceHistory_AppleKeyboardScript_AppleCurrentInputSource_AppleDefaultAsciiInputSource^AppleTimeResID—WsmRoman—?ˇ”_InputSourceKind_KeyboardLayout
 Name_KeyboardLayout ID_Keyboard Layout\Swiss French——Vkcfg 
0OtWflW‡GP 

I\?¨?≠?Ø?Æ°!”—”_com.apple.keylayout.SwissFrench—¢'*”()VFrench”°,”””—+>Pkyá£≤—˚
   $>Tnçúüß©¨Ø∂»fiÚïóû°® 
Õ–◊fi‡ÁÈ˜˛0

you can drop the unnnecessary things by

delete char 1 to (offset("apple.keyLayout.",tKeyboard) of tKeyboard
delete char (offset("—",-1)) of tKeyboard

... and tKeyboard should contain "SwissFrench" (on my Mac, at least)

I'm to lazy to check what mean the remaining stuff; perhaps something useful...


> 
> --
> 
> Francophones get a free "word study" exercise with most of my postings . . .  
> :)
> 
> NOW; in your livres vocabulaires, s'il vous plait?
> 

traduttore tradittore... in the context of your post, I would translate

1. Pox  a right pox: une vraie saloperie

2. Willies  it gives me the willies: ça me fiche les jetons

3. Silly Buggersbougres de cinglés (bougre - and bugger) originally 
means bulgarian, eh, eh...

4. Snuggle down camouflé sous 

and may you all curse me for the hoofdpijn . . .  :)  I'm giving up !

> 
> 
> Happy Saturday, Richmond.

et bon dimanche, Jacques

> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-30 Thread Richmond
Ugh; Apple, not content with hiding the # key from people on the East 
side of the Atlantic
have also been playing "silly buggers" with the physical layout of 
keyboards:


For instance:

My non-American (this includes my English & Arabic Mac keyboard) 
keyboards have a
siglum key in the top-left corner = rawKeyDown 0, and American keyboards 
have a

"funny apostrophe" key in the same place = rawKeyDown 96.  rawKeyDown 96 on
the non-American keyboards is snuggled down left of the Z key.

For virtual keyboard people (like myself) working with LiveCode this is
a right pox as, frankly, the thought of trying to set up some sort of 
keyboard

detection routine followed by a "dance of the vampires" sort of arrangement
whereby various buttons would merrily shift their position depending on 
the keyboard

layout gives me the willies . . .

Err . . . anybody know a way, within LiveCode/RunRev to detect an end-user's
physical keyboard?

--

Francophones get a free "word study" exercise with most of my postings . 
. .  :)


NOW; in your livres vocabulaires, s'il vous plait?

1. Pox

2. Willies

3. Silly Buggers

4. Snuggle down

and may you all curse me for the hoofdpijn . . .  :)



Happy Saturday, Richmond.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread Peter Brigham MD

See Wikipedia:

http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY

The siglum at topleft seems to be found in Scandinavian countries and  
in Holland, at least in the QWERTY layout. The british version at  
least in this article, doesn't have any siglum key at all (must be an  
alt/option-key combination).


I never realized how much variation there is in these things.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Oct 29, 2010, at 12:41 PM, Jim Sims wrote:



On Oct 29, 2010, at 6:31 PM, J. Landman Gay wrote:

I've never seen it that way. All my Mac keyboards have a tilde in  
that position. International differences, maybe?




Yup, my UK English has the siglum and a plus/minus in the upper left  
corner.


There are UK, American, Universal (I think that's the name)  English  
keyboard versions.



sims





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


Re: The siglum key explained.

2010-10-29 Thread Jim Sims

On Oct 29, 2010, at 6:31 PM, J. Landman Gay wrote:

> I've never seen it that way. All my Mac keyboards have a tilde in that 
> position. International differences, maybe?



Yup, my UK English has the siglum and a plus/minus in the upper left corner.

There are UK, American, Universal (I think that's the name)  English keyboard 
versions.


sims





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread Richmond

On 10/29/2010 07:31 PM, J. Landman Gay wrote:

On 10/29/10 10:59 AM, Richmond wrote:


Very funny; all the Mac keyboards I have have the siglum key in the
top-left corner.


I've never seen it that way. All my Mac keyboards have a tilde in that 
position. International differences, maybe?




http://andregarzia.on-rev.com/richmond/Siglum.png
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread J. Landman Gay

On 10/29/10 10:59 AM, Richmond wrote:


Very funny; all the Mac keyboards I have have the siglum key in the
top-left corner.


I've never seen it that way. All my Mac keyboards have a tilde in that 
position. International differences, maybe?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread DunbarX
Hmmm.

Must be a European thing?

Craig

In a message dated 10/29/10 11:59:15 AM, richmondmathew...@gmail.com 
writes:


> Very funny; all the Mac keyboards I have have the siglum key in the
> top-left corner.
> 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread Richmond

On 10/29/2010 04:41 PM, dunb...@aol.com wrote:

Richmond.

On Mac keyboards? I have a tilde and a sort of mini backSlash (ASCII 57)

Like everyone else.

But I see what you meant, your odd char is used to reference or annotate
secondary sources in a text. It is a sigla, part of a siglum.

How much do you want for that keyboard?

Craig
___



Very funny; all the Mac keyboards I have have the siglum key in the 
top-left corner.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The siglum key explained.

2010-10-29 Thread DunbarX
Richmond.

On Mac keyboards? I have a tilde and a sort of mini backSlash (ASCII 57)

Like everyone else.

But I see what you meant, your odd char is used to reference or annotate 
secondary sources in a text. It is a sigla, part of a siglum.

How much do you want for that keyboard?

Craig
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-28 Thread DunbarX
Richmond.

In a blank card script (so no other offending traps) I have:

on rawkeydown var
if var = 96 then put "tilde" else if var = 113 then   put "Q"
pass rawKeyDown
end rawkeydown

Works fine. Can you say what is different, in concept to how you are doing 
it? Or could there be something else insinuating itself into the works?

And what is the story with "siglum?

Craig
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-28 Thread Mike Bonner
*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 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> >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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the siglum key ???

2010-10-28 Thread Richmond

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, Richmondwrote:


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


Re: the siglum key ???

2010-10-28 Thread Mike Bonner
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.


On Thu, Oct 28, 2010 at 1:00 PM, Richmond 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution