AutoHotkey Community

It is currently May 26th, 2012, 7:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 170 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next
Author Message
 Post subject: Portable Keyboard Layout
PostPosted: February 9th, 2008, 10:07 am 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
I create a Portable Keyboard Layout program. You can use your favorite keyboard layout everywhere. It supports Colemak, DDvorak, ENTI-key, Hebrew (with CapsState, Unicode chars) etc.

See at http://pkl.sourceforge.net/

Image

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2008, 11:53 am 
:D Thanks for sharing, might come in handy :D
Go on scripting !!! 8)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2008, 12:43 pm 
Offline

Joined: June 2nd, 2007, 11:01 pm
Posts: 10
hey, nice work!

i just changed the ini file:
\Portable Keyboard Layout\pkl.ini
layout = enti-key++

can you corrected the foldername?
this is wrong: 'entykey'
it should be 'enti-key++'

and how did you generate the help-images?

and can you please include the latest enti-key++-Version 21?

i included the layout in a rar file:

_________________
Einhändig schreiben mit http://entikey.z11.de/


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Correct name, etc.
PostPosted: February 9th, 2008, 1:27 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
rubo77 wrote:
can you corrected the foldername?
this is wrong: 'entykey'
it should be 'enti-key++'

No. Folder must contain only a-z (lowercase) and '_' for variations, like colemak_french.
The correct name is ENTI-key++, I know.
I change it to entikey (sorry my mispelling).
You can set the correct name of the layout in the layout.ini:
Code:
[informations]
layoutname           = ENTI-Code++ ver.15


rubo77 wrote:
and how did you generate the help-images?

source.zip/utilities/ini2html.pl (perl script), Firefox(!), and a screen capture program.

rubo77 wrote:
and can you please include the latest enti-key++-Version 21?

If you send it to me (in email!).
You can use my klc2ini.pl perl script in the source.zip to generate your new layout's ini file. It's recomenend to use WinMerge (or a similar program) to show to you the old and the new ini file, to show what things must you change. Sorry, I can not speak english.
To special characters, you can use 2 mode, for example to Ctrl+Space:
Code:
*{space} ; Send {space} == space
={space} ; Send {Blind}{space} == ctrl+space now.


rubo77 wrote:
i included the layout in a rar file...

If you would like create a portable version ENTI-key++, use
Code:
compactMode = 1
in the pkl.ini (see the Portable Colemak)

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Correct name, etc.
PostPosted: February 10th, 2008, 9:16 am 
Offline

Joined: June 2nd, 2007, 11:01 pm
Posts: 10
ok i will try

fmate14 wrote:
To special characters, you can use 2 mode, for example to Ctrl+Space:
Code:
*{space} ; Send {space} == space
={space} ; Send {Blind}{space} == ctrl+space now.


what does this mean?

_________________
Einhändig schreiben mit http://entikey.z11.de/


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2008, 10:38 am 
Offline

Joined: June 2nd, 2007, 11:01 pm
Posts: 10
ok i sent you a PM here and in sourceforge ;)

what about a small README file?

you can use most of the text, you posted here already :D

_________________
Einhändig schreiben mit http://entikey.z11.de/


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Correct name, etc.
PostPosted: February 10th, 2008, 10:15 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
rubo77 wrote:
fmate14 wrote:
To special characters, you can use 2 mode, for example to Ctrl+Space:
Code:
*{space} ; Send {space} == space
={space} ; Send {Blind}{space} == ctrl+space now.


what does this mean?

With MS KLC you can not set special characters, like Del, Enter, BackSpace, etc. Please, see the difference between the old (my) ini file and your new!

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2008, 10:46 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
rubo77 wrote:
what about a small README file?

The idea is very good my english is bad. :oops:
I create some ,,sample layouts'', like enti-key++ (special characters), hebrew (CapsState), extend_* layouts (extend the built-in layout).
I hope, this helps.

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 29th, 2008, 5:20 pm 
Offline

Joined: April 29th, 2008, 5:14 pm
Posts: 3
We (fr-dvorak-bépo) are working on the fr-dvorak-bépo layout of the package.

http://www.clavier-dvorak.org/wiki/Accueil

All our work is available at http://dvorak.ryckeboer.org :
- pkl sources
- bépo layout
- modified ini files and certainly ahk in a small way.

We would be pleased to reverse our patches to the project.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 15th, 2008, 7:45 pm 
Offline

Joined: May 15th, 2008, 6:54 pm
Posts: 1
Hi!

I'm working on fr-dvorak-bépo layout too. This won't help non-french because the layout is optimized for french with Dvorak method but here it is:
* a modified version of what asr made can be found in this zip file (it is a bit documented if you can read french);
* the modified sources files to obtain this can be found in our svn in configGenerator (klc2ini.pl, ini2html.pl essentially);
* the .klc.

The only bug is when using a deadkey and the same key, it doesn't work. Máté will look at this. Thanks again for these ahk and perl scripts.

_________________
http://www.clavier-dvorak.org french dvorak keyboard layout


Report this post
Top
 Profile  
Reply with quote  
 Post subject: A few more precisions
PostPosted: May 21st, 2008, 3:35 pm 
Offline

Joined: April 29th, 2008, 5:14 pm
Posts: 3
The [D] key is mapped to "i", and is dead with Alt+Ctrl combination.
While we try to use the sequence [Dead D] [D], it doesn't work.

After a few hours of investigation, I have a few more elements :
On PKL.AHK, lines 480-500 :
DeadKey(DK)
{
…/…
ToolTip % DK
Input, nk, L1, {F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}
ToolTip % nk
KeyHistory

…/…

1* The second tooltip is not displayed if [D] is pressed, only displayed if another key is pressed.
2* In the key history, all the [D] pressed are present.
3* if I change the value of many variables, there is no effect on the [D] keypress ignored.

So, it seems that a handle intercepts the deadkey, while pressed, on the "Input" function.

PS: It is the same problem for each deadkey: impossible to build a layout with a deadkey combination of the deadkey itself.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 21st, 2008, 6:12 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
asr wrote:
PS: It is the same problem for each deadkey: impossible to build a layout with a deadkey combination of the deadkey itself.

Thanks, now I know the problem.
Pressing a Deadkey, the process control (sorry my english) goes to the Deadkey(DK) function, and wait for a key. If you press a key, it calculates the result and return. But AutoHotkey don't start a new thread, if the previous didn't return.

1) Force AutoHotkey to start a new thread, even the old is not returned
2) Return immediately and process after return

Please, wait patiently, I will correct this.
(But If you know, how can I the (1), please, tell me!)

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 22nd, 2008, 7:20 am 
Offline

Joined: April 29th, 2008, 5:14 pm
Posts: 3
fmate14 wrote:
1) Force AutoHotkey to start a new thread, even the old is not returned
2) Return immediately and process after return


Hum. Why not flag a global var, return, and recall the Deadkey() on keypressed ?
In fact, exactly like an automation, with a "state" variable, and a whole bunch of "case statements" function of the "state" var ?


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 23rd, 2008, 5:40 pm 
Offline

Joined: October 28th, 2007, 10:41 am
Posts: 75
Location: Hungary, Érd
asr wrote:
PS: It is the same problem for each deadkey: impossible to build a layout with a deadkey combination of the deadkey itself.

Fixed. You can checkout the SVN: http://pkl.svn.sourceforge.net/viewvc/pkl/

_________________
Portable Keyboard Layout
Happy Sunday


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Backspace suspend
PostPosted: May 28th, 2008, 9:43 am 
Offline

Joined: April 16th, 2008, 7:55 am
Posts: 43
Could you make the program so that if I press Backspace it suspends the portable colemak layout and if I press capslock, this starts it again?


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 1, 2, 3, 4, 5 ... 12  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Bing [Bot], Google [Bot], siterip, Stigg and 11 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