Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

AHKOSK Onscreen Keyboard


  • Please log in to reply
166 replies to this topic
Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006
This is an onscreen keyboard that does not steal focus from the active application.

Function key labels using Wingdings, Webdings, Etc. It can look like a conventional keyboard.
Posted Image

Right-click ThumbLauncher activation.
Posted Image

Can dock to the titlebar of the active window. Hover over the placeholder to activate.
Standard placeholder center justified.
Posted Image

Image placeholder right justified.
Posted Image

Also can be positioned anywhere. Just click on the "titlebar" area and drag where you want it.
It can also become transparent when the mouse is not hovering over the keyboard.
Posted Image

Hotstrings: User-added abbreviations to expand into words or phrases.
Faststrings: User-added words or phrases to speed typing. Just click to send.
Edit the 'kb_fastStrings.txt' and 'kb_hotStrings.txt' files in the resource folder to add your own.
Posted Image
Hotstrings and Faststrings in action


Can show hardware keypress.
Posted Image

-Download- (Zip includes source and an exe.)
Posted Image

Changes:

04-13-11
[*:23t3mir4]Added multi-FastString support (Thanks maxximon)
6-21-10
[*:23t3mir4]Fixed keyPhrase function (Thanks yehster)
[*:23t3mir4]Added keyPhrase function
[*:23t3mir4]Fixed highlighting issue in Win7 (Thanks mkny) (Hopefully still works in XP!)
[*:23t3mir4]Added some stuff to ease Blob creation
[*:23t3mir4]Little stuff here and there...
03-11-08
[*:23t3mir4]Extended placeholder capabilities. Can now specify location on titlebar - Left, Center, or Right. Can choose a picture for placholder instead of just an oval.
[*:23t3mir4]Improved thumblauncher right-click functionality. No longer prevents right mouse dragging or other features.
[*:23t3mir4]Organized and commented kb.ini for better readability.
03-03-08
[*:23t3mir4]updated xml layouts to new specs.
02-23-08
[*:23t3mir4]Fixed the no zero problem.
[*:23t3mir4]Fixed Sympad. It is now an xml layout.
[*:23t3mir4]Multiple gui support - Have any number of keyboards open at once.
[*:23t3mir4]HotStrings - kb_hotstrings.txt is located in the resource folder. Supports no backspace and no end char options.
[*:23t3mir4]FastStrings - kb_faststrings.txt located in resource folder. User added commonly used phrases to speed up typing.
[*:23t3mir4]Different fonts for each row/key.
[*:23t3mir4]New launching method. Right-click for 500ms and a thumbnail of the keyboard appears. Click on it and the keyboard opens. If you move the mouse off of the thumb without clicking, it disappears. This method is now the default.
10-08-07
[*:23t3mir4]really fixed "slow shift" this time
[*:23t3mir4]added transparent background option
[*:23t3mir4]added "blob" feature - irregularly shaped keyboard
[*:23t3mir4]supports multiple modifiers - EG: Shift-Ctrl-F5 or Shift-Alt-Tab, Etc
[*:23t3mir4]per request, added sound play on click option
09-07-07
[*:23t3mir4]fixed "mystery highlighting" and "slow shift" problems
[*:23t3mir4]full layer implementation
Features:

[*:23t3mir4]Minimize and dock to titlebar - When the mouse hovers over the placeholder hotspot in the center of the active window, the kb activates after a delay (adjustable). When the mouse leaves the kb, it fades. After 5 seconds (adjustable), the kb minimizes again. When active, this disables the previous feature - bump.
[*:23t3mir4]ThumbLauncher - Right or Middle click for >500ms and a thumbnail of the main keyboard appears. Click on it to activate the keyboard. Move the mouse off of it to dismiss it.
[*:23t3mir4]drag to un-dock and position anywhere using 'dragger' objects
[*:23t3mir4]click the "dock" button to re-dock
[*:23t3mir4]displays keys typed on the hardware keyboard(optional)
[*:23t3mir4]multiple keyboard selection from tray menu - various layouts included
[*:23t3mir4]does not steal focus from active app
[*:23t3mir4]full language localization - except languages requiring unicode characters
[*:23t3mir4]full keyboard layout customization
[*:23t3mir4]keyboard layout and language is read from an xml file
[*:23t3mir4]groovy rounded corners : )
[*:23t3mir4]transparent when the mouse is not over it, becomes solid on mouse-over - optional
[*:23t3mir4]typomatic rate, adjustable repeat - optional
[*:23t3mir4]Sticky Shift,Ctrl,Alt,Win keys - click once to sticky, twice to unsticky, and three times to send the key to the active window.
[*:23t3mir4]Is it in the way? Just bump it out if the way! Quickly move the mouse over and back off the kb within the bump range - 35 px(adjustable), and it will jump out of the way. The kb will jump 100px(adjustable) in the direction of the inward vector of the mouse. To get a feel for the bump range, there are bump trails(optional) - the last 5 coords recorded before the hit, briefly displayed to show the inward vector.
If this doesn't make any sense, just play with it!
TODO:

[*:23t3mir4]improve faststring scrollbar and arrow key handling
[*:23t3mir4]keyboard editor/designer
[*:23t3mir4]resizable keyboards
[*:23t3mir4]unicode support
For the sordid tale of its origin, see this thread: http://www.autohotke...pic.php?p=92566
Posted Image

HuBa
  • Members
  • 175 posts
  • Last active: Feb 13 2012 09:51 AM
  • Joined: 24 Feb 2007
OH MY GOD! This is beautiful!

Brilliant work! You are a real developer :D
Storing key-map in xml file is a very good idea. It can now be extended with other languages.

I used to play with the older On-screen keyboard, but that cannot be converted easily to hungarian.

Your solution is superior!

Maybe it could be improved by disabling transparency while dragging to speed up drag.
And how about some Show keyboard/Hide keyboard menu items in tray menu?

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006

Maybe it could be improved by disabling transparency while dragging to speed up drag.
And how about some Show keyboard/Hide keyboard menu items in tray menu?

Done and Done.

Glad you like it! Thanks!
Posted Image

majkinetor
  • Moderators
  • 4512 posts
  • Last active: May 20 2019 07:41 AM
  • Joined: 24 May 2006
/applaud

Micahs := RegExReplace("Micahs","imsxADJU)^(?=a)(hs)+?(?=i)(ca)+?(?<=c)(Mi)+?$",$3$2$1)

When did you all went crazy ? 8)
Posted Image

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006
Not crazy. Insane.
Posted Image

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006
I added a large english keyboard (for those with high-res monitors) and changed the docking behaviour. When you drag the keyboard it automatically un-docks and stays where you leave it. To re-dock, click the "dock" button. I also sped up the keyboard creation routine.
Posted Image

islisis
  • Guests
  • Last active:
  • Joined: --
can't thank you enough for this script... the tablet xp keyboard sucks so much it's insane (just not perfectly insane like you would prefer)

Rhys
  • Members
  • 761 posts
  • Last active: Aug 09 2013 04:53 PM
  • Joined: 17 Apr 2007
This is a fantastic script... I do have a couple of ideas that might make it easier to use:

Add a 'Num' button like the 'Sym' button so the num pad can be easily launched?
Add the * and / characters to the num pad?
It doesn't seem like I can do multiple modifier presses (CTRL+SHIFT+Z) that might be needed for some apps.
I'm really impressed by this script... Keep up the great work!

ManaUser
  • Members
  • 1121 posts
  • Last active: Dec 07 2016 04:24 PM
  • Joined: 24 May 2007
So... what's the differnece between the dock and hide buttons? They seem to do the same thing.

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006

This is a fantastic script

can't thank you enough for this script

Thanks!

So... what's the differnece between the dock and hide buttons? They seem to do the same thing.

You're right. Hide has since been removed, but I haven't updated yet. A friend suggested a PrintScreen button and this replaced the Hide button.

Add a 'Num' button like the 'Sym' button so the num pad can be easily launched?

Good Idea. A friend suggested this already and I plan to add it soon.

Add the * and / characters to the num pad?

I can do this but this is the reason I made the keyboard setup an xml file. You can make any changes (language, add/delete buttons, etc) just by editing a text file. I'll add this soon.

It doesn't seem like I can do multiple modifier presses (CTRL+SHIFT+Z) that might be needed for some apps.

I'll look into this.

RedX
  • Guests
  • Last active:
  • Joined: --
Hi!

I just discovered this really neat script and was wondering if you are planning to introduce support for international kb. I was thinking about the german keyboard since it has one feature that american keyboards do not have and that is the AltGr key that is somewhat a combination of Alt + Ctrl.

I'd really appreciate if this was possible since it would make implementation of the NEO-KB layout for german users very easy.

Are you also planning the introduction of more then 2 display layers for the keys? That keyboard layout has 6 but the most important are only the first 4 ones.

The best would be to have something like:
<key>
<layer1>q</layer1>
<layer2>Q</layer2>
<layer3>@</layer3>
</key>

For yout to get an idea of what i mean this is the current kb layout:
https://neo.eigenhei... ... teller.pdf

Best Regards,
Red

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006
I don't see that this will be a huge problem. I envision layer 0 being "normal" keyboard functions: unshifted and shifted in the primary language. Layers 1-? being international stuff, toggling through the layers with a "Func" or "Fn" key or something. I'll look into this too.
Thanks for the suggestion. Keep 'em coming!
(If this isn't quite what you had in mind, give a holler.)
Posted Image

tarc
  • Members
  • 28 posts
  • Last active: Nov 12 2013 02:10 PM
  • Joined: 29 May 2006
Thanks for a very useful utility. Much better than window's tablet pc onscreen keyboard.

-Tarc

StanK
  • Members
  • 1 posts
  • Last active: Jul 18 2007 01:08 AM
  • Joined: 18 Jul 2007
I love this!

Thank you.

Micahs
  • Members
  • 463 posts
  • Last active: Mar 01 2013 06:01 AM
  • Joined: 01 Dec 2006
Howdy!
I have the layers capability added, just working out some nagging issues. (Although if I were Microsoft I would release it anyway and call them "Features".)
More updates coming!
Posted Image