AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Portable Keyboard Layout
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Sat Feb 09, 2008 10:07 am    Post subject: Portable Keyboard Layout Reply with quote

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/


_________________
Portable Keyboard Layout
Happy Sunday
Back to top
View user's profile Send private message Visit poster's website
BoBo¨
Guest





PostPosted: Sat Feb 09, 2008 11:53 am    Post subject: Reply with quote

Very Happy Thanks for sharing, might come in handy Very Happy
Go on scripting !!! Cool
Back to top
rubo77



Joined: 02 Jun 2007
Posts: 10

PostPosted: Sat Feb 09, 2008 12:43 pm    Post subject: Reply with quote


_________________
Einhändig schreiben mit http://entikey.z11.de/
Back to top
View user's profile Send private message
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Sat Feb 09, 2008 1:27 pm    Post subject: Correct name, etc. Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
rubo77



Joined: 02 Jun 2007
Posts: 10

PostPosted: Sun Feb 10, 2008 9:16 am    Post subject: Re: Correct name, etc. Reply with quote

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/
Back to top
View user's profile Send private message
rubo77



Joined: 02 Jun 2007
Posts: 10

PostPosted: Sun Feb 10, 2008 10:38 am    Post subject: Reply with quote

ok i sent you a PM here and in sourceforge Wink

what about a small README file?

you can use most of the text, you posted here already Very Happy
_________________
Einhändig schreiben mit http://entikey.z11.de/
Back to top
View user's profile Send private message
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Sun Feb 10, 2008 10:15 pm    Post subject: Re: Correct name, etc. Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Sun Feb 10, 2008 10:46 pm    Post subject: Reply with quote

rubo77 wrote:
what about a small README file?

The idea is very good my english is bad. Embarassed
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
Back to top
View user's profile Send private message Visit poster's website
asr



Joined: 29 Apr 2008
Posts: 3

PostPosted: Tue Apr 29, 2008 5:20 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
A2



Joined: 15 May 2008
Posts: 1

PostPosted: Thu May 15, 2008 7:45 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
asr



Joined: 29 Apr 2008
Posts: 3

PostPosted: Wed May 21, 2008 3:35 pm    Post subject: A few more precisions Reply with quote

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.
Back to top
View user's profile Send private message
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Wed May 21, 2008 6:12 pm    Post subject: Re: A few more precisions Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
asr



Joined: 29 Apr 2008
Posts: 3

PostPosted: Thu May 22, 2008 7:20 am    Post subject: Re: A few more precisions Reply with quote

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 ?
Back to top
View user's profile Send private message
fmate14



Joined: 28 Oct 2007
Posts: 48
Location: Hungary, Érd

PostPosted: Fri May 23, 2008 5:40 pm    Post subject: Re: A few more precisions Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Jag02



Joined: 16 Apr 2008
Posts: 39

PostPosted: Wed May 28, 2008 9:43 am    Post subject: Backspace suspend Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group