AutoHotkey Community

It is currently May 27th, 2012, 12:05 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 12  Next
Author Message
 Post subject:
PostPosted: September 11th, 2009, 2:18 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
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
Code:
Send %ch%
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 23rd, 2009, 11:06 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 24th, 2009, 5:47 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 28th, 2009, 3:08 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
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,...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 8:59 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 7th, 2009, 8:47 pm 
Offline

Joined: March 16th, 2006, 5:01 pm
Posts: 150
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 8th, 2009, 8:03 am 
Offline

Joined: May 24th, 2009, 1:23 pm
Posts: 89
Location: Bærum, Norway
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: adding hebrew layout
PostPosted: October 12th, 2009, 12:31 pm 
Offline

Joined: October 12th, 2009, 12:28 pm
Posts: 1
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! :(


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Mapping Windows Keys
PostPosted: October 13th, 2009, 12:11 pm 
Offline

Joined: October 13th, 2009, 12:05 pm
Posts: 1
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2009, 4:42 pm 
Offline

Joined: May 24th, 2009, 1:23 pm
Posts: 89
Location: Bærum, Norway
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: adding hebrew layout
PostPosted: October 14th, 2009, 4:50 pm 
Offline

Joined: May 24th, 2009, 1:23 pm
Posts: 89
Location: Bærum, Norway
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Hmm
PostPosted: October 16th, 2009, 12:27 am 
How would I go about changing
Backspace -> Caps lock?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 22nd, 2009, 1:01 pm 
Offline

Joined: May 24th, 2009, 1:23 pm
Posts: 89
Location: Bærum, Norway
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).

Image Image 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 December 2nd, 2009, 11:52 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: adding hebrew layout
PostPosted: November 16th, 2009, 12:27 am 
Offline

Joined: November 15th, 2009, 11:57 pm
Posts: 1
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 :D )
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 :wink:

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 19th, 2009, 6:10 am 
Offline

Joined: November 19th, 2009, 5:53 am
Posts: 1
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?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 170 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 12  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Rajat and 55 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group