OT? Keyboard function key codes
OT? Keyboard function key codes
- Subject: OT? Keyboard function key codes
- From: Dave Stewart <email@hidden>
- Date: Wed, 29 Sep 2004 11:50:56 -0700
Greetings again!
I've been kicking around a problem that we have worked around but I
want a better solution to. This question probably doesn't really belong
on this list, but I'm unsure of where to go with it and you folks know
so much ...
Companywide we use the Mac Terminal.app program to ssh into our main
server and we run a business software package through it (FACTS from
Aperum; <http://www.aperum.com/facts.html>). This works great, except
for one little issue pertaining to the function keys (<F1> through
<F12>).
The issue is the little iMac keyboards and the keyboards on iBook
laptops. Namely they seem to be sending different key codes to FACTS
for the function keys. Our work around for it is to map the keys in
FACTS on a per-user basis, which does get around the problem (function
keys work again). But this causes two issues (one is unimportant, but
annoying):
1. Our keyboard definition file on the server is grossly oversized (not
a problem, but mildly annoying).
2. If someone changes keyboards, or when we get a new user set up, the
function keys don't always work until they are remapped to the keyboard
in use. This is very annoying, as we have users that don't understand
why certain functions don't work until they call me and have me remap
the keys for them.
This problem only seems to affect the (older G3) iMac keyboards (the
ones with the half-height function keys) and the iBook laptops, all
other keyboards seem to be sending the same standard codes and don't
require remapping. (I should note here that we also have some dumb Wyse
terminals as well which seem to be sending the same key codes for the
function keys as the "regular" keyboards for the Mac. We also have some
ergonomic keyboards from "the evil empire" that also use the same
function key codes. The only problematic ones are the iMac and iBook
keyboards.)
So, now that I've bored all but the most knowledgeable to death (LOL),
my question is this: is there a way to create a script or something
that takes the function key codes from the unusual keyboards (iMac and
iBook) and "translate" them to the "standard" key codes we're seeing in
every other keyboard we have companywide? If I can find a way to do
that both problems above would be solved easily by planting a script
where it's needed. It would be really cool if it could recognize the
"standard" function key codes and not translate them (so it wouldn't
interfere if the user changes keyboards ... it would "just work").
If I should be barking this up another tree, I'd appreciate knowing
which tree (in other words, feel free to tell me where to go:). TIA for
any suggestions and ideas you can offer.
Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com
A diplomat is someone who can "tell you where to go"
and make you feel happy to be on your way.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden