Re: Applescript in the terminal (fwd)
Re: Applescript in the terminal (fwd)
- Subject: Re: Applescript in the terminal (fwd)
- From: "koenig.yvan" <email@hidden>
- Date: Sun, 21 Apr 2013 11:33:11 +0200
Le 21/04/2013 à 09:50, emile.a.schwarz < email@hidden> a écrit : >Google is your friend Funny, I say that everytime ! The given link talks about key codes. As far as I recall, key code is the hardware 'address' of a key. If I take the 'a' letter, it will have one Key Code for an US (standard) keyboard, another for my French (standard) keyboard and I do not talk about Dvorak or every other specific keyboards (countries, hardware manufacturers).
Building a script based on Key Code (execpted if it is for your own use) is a bit hazardous IMHO.
It depends of which key is supposed to be triggered.
These one are common to different keyboards :
delete
|
51
|
down
|
125
|
enter
|
52
|
esc
|
53
|
left
|
123
|
return
|
36
|
right
|
124
|
space
|
49
|
tab
|
48
|
up
|
126
|
Surprising feature, the codes for Function keys aren't the same on different physical keyboards.
On my French keyboard, F2 is supposed to enhance luminosity but key code 120 just issue a bip.
Yvan KOENIG (VALLAURIS, France) dimanche 21 avril 2013 11:33:07
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden