 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Fri Sep 11, 2009 2:18 pm Post subject: |
|
|
| DreymaR wrote: | | Are you sure you did that test right? I mean, 0 ms is a very short time for such a long routine. |
Do you have better idea? If I move the | Code: | | startTime := A_TickCount | code the first possible place: in pkl_main.ahk after the | Code: | | keyPressed: ; *SC025 | line, I get: “16 ** 16 ** 31”, which means: all lines of execute from catching a keypress to the entry point of the extendKeyPressed function requires 16 ms. The whole function (except the line) requires 0 ms, this line requires 16 ms, so from pressing a key to sending a character, it requires 31 ms (yes, I know, 16 + 16 is not equal 31).
It is maybe wrong, but I don't have better idea – or Autohotkey cannot measure the time.
| DreymaR wrote: | | You mean 'complicated' not 'complicant', right? Not 'compliant' or anything else? |
Yes, I have wanted to say “complicated”, sorry my english. _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Wed Sep 23, 2009 11:06 pm Post subject: |
|
|
Hi all,
This is the best way to have a system-wide alternative layout; congrats for the idea.
I cannot get it to work on my win server 2008 box, though. I have posted what I've tried here:
http://forum.colemak.com/viewtopic.php?pid=5399#p5399
Anyone has any workaround?
Thanks |
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Thu Sep 24, 2009 5:47 pm Post subject: |
|
|
| urlwolf wrote: | | I cannot get it to work on my win server 2008 box, though |
It is interesting, because it works well for me with Win7… Maybe I can try it with Windows Server next week. _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Mon Sep 28, 2009 3:08 pm Post subject: |
|
|
| fmate14 wrote: | | urlwolf wrote: | | I cannot get it to work on my win server 2008 box, though |
It is interesting, because it works well for me with Win7… Maybe I can try it with Windows Server next week. |
Please, do, I tried it in two Server installs already. No clue what can be wrong,... |
|
| Back to top |
|
 |
fmate14
Joined: 28 Oct 2007 Posts: 72 Location: Hungary, Érd
|
Posted: Wed Sep 30, 2009 8:59 pm Post subject: |
|
|
| urlwolf wrote: | | Please, do, I tried it in two Server installs already. No clue what can be wrong,... |
It works well with Windows Server 2008 (32 bit). I downloaded (the Portable Colemak), unpacked the full package, and runned the pkl.exe.
I can't try in with 64 bit operating systems.
Sorry my English. _________________ Portable Keyboard Layout
Happy Sunday |
|
| Back to top |
|
 |
urlwolf
Joined: 16 Mar 2006 Posts: 112
|
Posted: Wed Oct 07, 2009 8:47 pm Post subject: |
|
|
hmm, then I've no idea what else to try. Thanks anyway.
I'd also love to change the graph of the layout to mimic my kinesis contour. Is that easy? |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bćrum, Norway
|
Posted: Thu Oct 08, 2009 8:03 am Post subject: |
|
|
That's not easy if you want to generate automated images, but relatively easy if you want to edit your own images in a graphics program:
In the layout folder, replace all the state# and deadkey# (and if applicable, the 'extend') PNG images with your own. Make sure they're all the same size. In the layout.ini file, you'll find img_height and img_width parameters that you'll need to set. That should do the trick, I believe.
If you do want to give the world the option of generating Kinesis-like automated images, you'll have to fiddle with the CSS file in the PKL tools. I couldn't get that to work I think, with my rudimentary knowledge of CSS. _________________ Better burden you cannot carry than man-wisdom much -- Hávamál |
|
| Back to top |
|
 |
jazzman
Joined: 12 Oct 2009 Posts: 1
|
Posted: Mon Oct 12, 2009 12:31 pm Post subject: adding hebrew layout |
|
|
Hello!
I just installed PKL and I'm trying to add a Hebrew keyboard layout, however Hebrew doesn't appear in the "languages" folder.
Please help!  |
|
| Back to top |
|
 |
prevailrob
Joined: 13 Oct 2009 Posts: 1
|
Posted: Tue Oct 13, 2009 12:11 pm Post subject: Mapping Windows Keys |
|
|
Hi,
Just downloaded the UK Colemak layout for PKL and noticed the shortcuts using the Windows keys dont work - ie: Win+D to show desktop etc.
How would I go about mapping the windows keys in the ini?
Thanks. |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bćrum, Norway
|
Posted: Wed Oct 14, 2009 4:42 pm Post subject: |
|
|
Hmmm... tricky.
Try a line in your layout.ini under the [layout] section:
SC05b = LWIN modifier
...or, possibly, 'virtualkey' instead of 'modifier'. Use a <Tab> between 'LWIN' and the next entry.
Don't recall having that problem myself though, and I don't remap my win keys at all. _________________ Better burden you cannot carry than man-wisdom much -- Hávamál |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bćrum, Norway
|
Posted: Wed Oct 14, 2009 4:50 pm Post subject: Re: adding hebrew layout |
|
|
| jazzman wrote: | Hello!
I just installed PKL and I'm trying to add a Hebrew keyboard layout, however Hebrew doesn't appear in the "languages" folder. |
As I recall it, it's in the 'Classic_variants_layouts' separate download, together with greek, russian and ukrainian. _________________ Better burden you cannot carry than man-wisdom much -- Hávamál |
|
| Back to top |
|
 |
guest123 Guest
|
Posted: Fri Oct 16, 2009 12:27 am Post subject: Hmm |
|
|
How would I go about changing
Backspace -> Caps lock? |
|
| Back to top |
|
 |
DreymaR
Joined: 24 May 2009 Posts: 60 Location: Bćrum, Norway
|
Posted: Thu Oct 22, 2009 1:01 pm Post subject: |
|
|
Farkas: Again, how about using transparent layout images?
- Then the fingering is decoupled from the layout itself. Less extra info has to be in the layout.ini [I still think you should use a separate unmodified klc-based file and another .ini file with all the manual stuff!].
- You can now easily change the background if you want something else like, say, a more colorful or less colorful image.
Example: I made a vector graphics keyboard image that I like. I can easily generate bitmaps with crazy or subtle/no colors, more or less detail, markings or not on the non-letter keys etc etc, to suit my fancy. I tried just slapping the glyphs from your generated image (simply deleting the non-glyph graphics first) on a blank version of my image and it worked quite well for a first try! Maybe if I make my image in a slightly different size or something, it'd be a near-perfect match. Ideally, if you put transparent generated images on top of a background image please make a position offset possible (for example, the layout image starts at position (10,0) of the background image).
Maybe the displayed transparency could be optional or adjustable, in case someone wants to use the old type complete layout images.
You could also use a transparency setting for the base image; some people would want a degree of transparency to the whole image I guess.
[Edit: It may be possible to search-and-replace by script in my SVG graphics file, to generate a set of images. That might be nice, since I'd then get the optimal resolution on the letters and all. Could generate PKL help images in all sizes from barely readable to huge, if you wanted! I'd still like to separate the text image itself from the background with the keys.] _________________ Better burden you cannot carry than man-wisdom much -- Hávamál
Last edited by DreymaR on Wed Dec 02, 2009 11:52 am; edited 2 times in total |
|
| Back to top |
|
 |
guryushika
Joined: 15 Nov 2009 Posts: 1
|
Posted: Mon Nov 16, 2009 12:27 am Post subject: Re: adding hebrew layout |
|
|
| jazzman wrote: | Hello!
I just installed PKL and I'm trying to add a Hebrew keyboard layout, however Hebrew doesn't appear in the "languages" folder.
Please help!  |
Hi, I'm french and today I discovered bépo & pkl !!!
I'm neither jewish nor israeli but I love hebrew (don't ask why )
I wasn't able to find what I wanted so I've done some work :
– png keyboard maps (edited from bépo community template)
– on/off israeli flag icons
and of course the 'classic_hebrew' layout ini file
hope it can help
here are some links to download a zip archive to unzip in the 'layouts' folder of pkl :
http://www.mediafire.com/?wwnomlji4lh
https://www.sugarsync.com/pf/D768044_826205_995368 |
|
| Back to top |
|
 |
sgtmattbaker
Joined: 19 Nov 2009 Posts: 1
|
Posted: Thu Nov 19, 2009 6:10 am Post subject: |
|
|
Hello, I tried to run the ini2html.pl program so I could generate png images for the AltGr and Shift + AltGr states of my dvorak and qwerty layouts.
I installed the cpan dependencies for ini2html which were Config:IniHash, Hash:Case lower, Hash-WithDefaults and IO:scalar.
Then when I ran it (using cygwin) this was my terminal output:
| Code: |
perl ini2html.pl
Use of uninitialized value in concatenation (.) or string at ini2html.pl line
85 (#1)
(W uninitialized) An undefined value was ysed as if it were already
defined. It was interpreted as a "" or a o, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl will try to tell you the
name of the variable (if any) that was undefined. In some cases it
cannot do this, so it also tells you what operation you used the
undefined value in. Note, however, that perl optimizes your program
and the operation displayed in the warning may not necessarily appear
literally in your program. For example, "that $foo" is usually optimized
into "that " . $foo, and the warning will refer to the concatenation (.)
operator, even though there is no . in your program.
Argument "" isn't numeric in bitwise and (&) at ini2html.pl line 88 (#2)
(W numeric) The indicated string was fed as an argument to an
operator that expected a numeric value instead. If you're fortunate
the message will identify which operator was so unfortunate.
Use of uninitialized value in substitution iterator at ini2html.pl line 288 (#1)
Use of uninitialized value in substitution iterator at ini2html.pl line 289 (#1)
Use of uninitialized value in substitution iterator at ini2html.pl line 290 (#1)
Use of uninitialized value in substitution iterator at ini2html.pl line 291 (#1)
Use of uninitialized value in substitution iterator at ini2html.pl line 292 (#1)
|
I deleted those lines and then ran it and it gave me some other error but it generated an html file then. However, the html file was just a file that said stuff like :Copyright" and so on, but had nothing next to the Name and Copyright lines.
Does anyone know why it is doing this? |
|
| 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
|