 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Tibi
Joined: 02 Jul 2008 Posts: 4
|
Posted: Tue Nov 18, 2008 2:27 pm Post subject: |
|
|
| Guillaume wrote: |
cad and rrr do not work but aaa does. |
It looks like the ::cad:: syntax (hotstrings) uses the original mapping, while the #d:: syntax (hotkeys) uses the pkl mapping.
If you specify “::xbi::c’est-à-dire” (using azerty) or “::xai::c’est-à-dire” (using qwertz) your replacement will work: typing “cad” in bépo will trigger the replacement.
BTW, come join us on the #fr-dvorak-bepo IRC channel on freenode to discuss this issue more lively —and in French  |
|
| Back to top |
|
 |
Guillaume Guest
|
Posted: Tue Nov 18, 2008 3:08 pm Post subject: |
|
|
| Quote: | | If you specify “::xbi::c’est-à-dire” (using azerty) or “::xai::c’est-à-dire” (using qwertz) your replacement will work: typing “cad” in bépo will trigger the replacement. |
it could have done it, indeed, but it does not !!! |
|
| Back to top |
|
 |
Guillaume Guest
|
Posted: Tue Nov 18, 2008 4:06 pm Post subject: |
|
|
hey, merci, your idea was really not bad, but I must enter the keys I physically strike on the keyboard : so in our example, it works if I write :
| Code: | | ::hai::c'est-à-dire |
because hai are the keys I strike to write cad on the bépo. It would be a solution, especially with a script converting automatically the letters when entering a new abbreviation.
Guillaume |
|
| Back to top |
|
 |
MrPG Guest
|
Posted: Mon Dec 01, 2008 12:27 am Post subject: English home page for PKL |
|
|
Here's the text I promised to write - it was written as a home page for PKL, with some attention to keywords for search engines and, of course, relevant links. Note, please, that some URLs should be filled in - I'm not sure what to put in those places. I hope other users would fix any errors in this text - unfortunately English is not my first language. Good luck with your great program!
| Code: |
Welcome to the official site of Portable Keyboard Layout! This open source program by <a href="INSERT_E-MAIL_OR_SITE_URL_HERE">Farkas Mate</a> helps people to learn better, more efficient keyboard layouts and then use them anywhere, anytime, even on someone else's computer. If you want to stave off <a href="http://en.wikipedia.org/wiki/Repetitive_strain_injury">RSI (Repetitive Strain Injury)</a> and <a href="http://en.wikipedia.org/wiki/Carpal_tunnel_syndrome">CTS (Carpal Tunnel Syndrome)</a> - try one of the scientificially designed keyboard layouts such as <a href="http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard">Dvorak</a>, <a href="http://colemak.com/">Colemak</a>, or <a href="http://millikeys.sourceforge.net/asset/">Asset</a> and take it with you on a flash drive using PKL. You can also use your favorite national layout - Russian, Hebrew, Greek or some other language - without installing it on the computer that you have to use (in an Internet Cafe, at school, or somewhere else).
It's quite easy to start using PKL, especially if you are trying to learn a new layout and need some reminders about key positions: download the <a href="INSERT_DOWLOAD_PAGE_URL_HERE">program itself</a> and some <a href="INSERT_DOWLOAD_PAGE_URL_HERE">ready-made layouts</a>, then check a few settings in the pkl.ini file (they are well documented inside) - and launch the program. If you want to take it with you to some computer that doesn't have any alternative layouts installed - just copy it to a flash drive and launch it when you need it, there is no installation, it's ready to use immediately. Currently PKL supports only Windows-based computers, so don't expect it to work on Linux or Mac, though.
PKL allows for some pretty sophisticated manipulation of key modifiers and keyboard states, so entering even most complex characters is a pleasure - various diacritics/accents, special characters, etc present no problem. It's also quite friendly to other users: if you keep forgetting to exit it when you leave - you can set it to auto-disable itself after short period of inactivity. All these settings can be set up in the abovementioned pkl.ini file and individual layouts settings.
Of course, you can make your own layouts for any language, including the keyboard help images for various modes, using free tools. Note that PKL is, essentially, a compiled <a href="http://www.autohotkey.com">AutoHotKey</a> script, and its source is available for <a href="INSERT_DOWLOAD_PAGE_URL_HERE">download</a> (including all needed tools to create your own layouts), so if you want to change or improve something - you are welcome! Don't forget to visit the official <a href="INSERT_FORUM_PAGE_URL_HERE">forum</a> if you need some question answered or have some suggestion.
|
|
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Mon Dec 01, 2008 4:11 pm Post subject: Re: English home page for PKL |
|
|
| MrPG wrote: | | Here's the text I promised to write |
Thank you very much!
I will review and upload it at this week! _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
mejobloggs Guest
|
Posted: Wed Jan 07, 2009 1:11 am Post subject: |
|
|
| This is really awesome, but is it possible to get a QWERTY layout like the Colemak one? How it has that floating keyboard |
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Tue Feb 10, 2009 8:38 pm Post subject: Re: English home page for PKL |
|
|
| MrPG wrote: | | Here's the text I promised to write - it was written as a home page for PKL, with some attention to keywords for search engines and, of course, relevant links... |
Thank you very much – and sorry for the late, I was in hospital because of an auto crash.
See http://pkl.sourceforge.net/ _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Mar 05, 2009 6:03 pm Post subject: |
|
|
"; Enter mode: where is the SC02b key (QWERTY's \|)
; 0 = on first row, beside the Backspace
; 1 = on second row, like on english layout (the default)
; 2 = on third row, beside the Enter"
My "\|" key is located on the forth row.
At first I thought that you might be counting upwards and that it was on the second row but you say that the first row is the row with the backspace key meaning your counting down?  |
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Thu Mar 05, 2009 6:19 pm Post subject: |
|
|
| Anonymous wrote: | My "\|" key is located on the forth row.
At first I thought that you might be counting upwards and that it was on the second row but you say that the first row is the row with the backspace key meaning your counting down?  |
It is used only to create helper images. (See the differences between Enti-key and Colemak images.) If you don't generate images, it does nothing.
Ps: I have never seen keyboard, which have the SC02b (english QWERTY's \|) key on the forth row (beside the Shift?). And I don't found it at http://en.wikipedia.org/wiki/Keyboard_layout _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
Guest
|
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Fri Mar 06, 2009 1:47 pm Post subject: |
|
|
| Anonymous wrote: | | Yep, on a UK version |
NO! As I wrote, the Enter mode tells the position of a key on the hardware.
On UK layout when you press the SC02b key you can see the ~# characters. If you change the layout and press the SC02b key, you can see different characters (for example \| on english's QWERTY, űŰ on hungarian).
The key to what do you think is the SC056 key.
Please, create an autohotkey script, contains a small code:
| Code: | #Persistent
#InstallKeybdHook |
Run it. An AutoHotkey icon appears in the tray. Double click on it. Select View → Key history… menu. When you press a key (and refresh - F5), you can see the scan code, virtual code and the key. If you changes the layout, the scan code doesn't changes, because it is based on the hardware. The virtual key code is similar to the Key, some programs detect the keypresses based in VK code, some others based on Key. The difference is: for example on a russian layout how can you detect, when the user press the „u” key? It doesn't have „u” character, but it has a key (I don't no, where), what's VK code is equal to english „u”-s VK code.
I have seen three different hardware: the SC02b key is
* on the first row, so it has small backspace key (like Czech)
* on the second row, so it's enter key is just on one row (like US)
* on the third row, so it's enter key's bottom side is smaller (like UK) _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 07, 2009 12:33 am Post subject: |
|
|
Ah, so when you said the key was QWERTY's "\|" key what you really mean is the key that is sometimes a "\|" key and at other times a "#~" key.
Makes complete sense now
Maybe you should say something in the sample file like:
"; Enter mode: where the SC02b key is (QWERTY's \| or #~ key)" |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bærum, Norway
|
Posted: Sun May 24, 2009 1:42 pm Post subject: |
|
|
Or the Brit Guests could stop being such pains.
For the sake of exactitude however, I do suggest saying "(the US QWERTY \| key)" as a good enough explanation of what the SC02b key is. If anyone has a problem understanding that, I'm sure they'll have enough to go on to find it with a web search. Unless they're being difficult on purpose, heh.
I've seen the various physical keyboard layouts referred to as the "Enhanced layout" (typical modern US keyboard, 1-row Return key), XT-type (typical European board, Enter key slightly wider on row 2 than on row 3) and AT-type (Enter key wider on row 3, narrow Backspace key) but I don't think those would mean a lot to most people and they're in fact ambigous.
In the MS Keyboard Layout Creator for instance, the types are chosen by images only and not given proper names. And the layout description itself doesn't contain any reference to the physical board type as far as I remember; a proper MS layout DLL contains values for more than 30 keyboard types!
Οn my keyboard that key has '* on it. Just saying; you can't cater to all us ethno-freaks! _________________ Better burden you cannot carry than man-wisdom much -- Hávamál
Last edited by DreymaR on Mon May 25, 2009 11:17 am; edited 1 time in total |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bærum, Norway
|
Posted: Mon May 25, 2009 10:29 am Post subject: |
|
|
| fmate14 wrote: | | aoeui wrote: | | 1. When the Caps Lock is on, the Caps Lock LED keeps blinking when typing. Of course, it's not a big problem. But I think it will be better if the LED doesn't blink. |
I think too. But it is because of AutoHotkey, I can't do anything. |
This isn't strictly true. If you were to make a special intercept for state lock keys (Caps/Num/Scrl) you'd have manual control over their lights if desired. See the 'Set####LockState' commands for how to make the lights 'always on/off'. But I'm sure if it's worth making the rest of the program go (a bit) slower to get that thing in order.
I also have a thought about the problem with PKL and other AHK scripts: It's not about running multiple scripts, but about multiple keyboard hooks I think. If a hook high up in the priority queue catches a key message and processes it, the same message isn't necessarily passed on to the rest of the queue afterwards. That's why the hook keys don't trigger themselves, I think?
With careful coding you might pass the necessary messages to the queue from your script, but you'd still be at the mercy of other scripts if they get priority over yours! That's governed by the startup sequence I think, which explains why it's significant whether PKL for instance is started up first or last relatively to your other script.
Not entirely sure how to solve that conundrum, but if all the variable names in PKL are given unique names (I always like to start my variables with initials of the script, like 'pklVarname' for instance) someone's other script might be able to #include all of PKL or the other way around so they'd have one large PKL+whatever-program with just one keyboard hook? Since the PKL source code is available. _________________ Better burden you cannot carry than man-wisdom much -- Hávamál |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|