Wednesday, 17 October 2012 13:55

Emposk - Touchscreen - On screen keyboard - Installation

Emposk - A touchscreen on screen keyboard for windows.

Usage

A single executable is provided. Usage:-

EMPOSK <height> <widthspec> <topspec> [ALPHA]
<height> = The required height of the keyboard in pixel.
<widthsec> = Minus this many pixel from from the screen width. If not specified fills the screen width.
<topspec> = Move this many pixels futher up the screen. If not specified placed the keyboard at the bottom of the screen.
<ALPHA> = If the word 'ALPHA' appears here only alphabetical characters are show.

You will need to exit Emposk using the task manager. If you are a programmer you can write the string 'CLOSE' to the a mailslot called LOSK1 which will terminate the program. See this MSDN article for more info.  In Delphi this is something like:-

procedure writeoskmailslot(s : string);
var
hf : thandle;
br : dword;
ss : array[0..255] of char;
begin
strpcopy(ss,s);
hf:=createfile('\\.\mailslot\LSOSK1',GENERIC_WRITE,FILE_SHARE_READ,nil,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,0);
if hf=0 then exit;
writefile(hf,ss,length(s)+1,br,nil);
closehandle(hf);
end;

writeoskmailslot('close');
Read 37730 times Last modified on Friday, 19 October 2012 18:36

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.