Recently Browsing 0 members
No registered users viewing this page.
after doing some search upon the start issues for OSK.EXE I found several threads covering the nice 32bit/64bit filesystem redirection.
Searching the autoit help is bringing up this topic:
That one is telling:
This function is useful for 32-bit applications that want to gain access to the native system32 directory.
By default, WOW64 file system redirection is enabled.
This function may not work reliably when there are nested calls.
Therefore, this function has been replaced by the Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection functions.
But I cannot find any other topic in the help system covering this stuff?
BTW, this is working for me perfectly to keep OSK.EXE running all the time. Purpose is a tablet application, where some users tend to close OSK and to complain afterwards, that it vanished ;-)
Func OSKchecker() If ProcessExists("osk.exe") Then Return Else ; MsgBox(0,"kein OSK erkannt",$PIDosk) If (@OSArch = "X64") And (@AutoItX64 = 0) Then DllCall("kernel32.dll", "boolean", "Wow64DisableWow64FsRedirection", "boolean", 1) ;~ Turns On 64 Bit Redirection $PIDosk = ShellExecute("osk.exe") DllCall("kernel32.dll", "boolean", "Wow64DisableWow64FsRedirection", "boolean", 0) ;~ Turns Off 64 Bit Redirection Else $PIDosk = ShellExecute("osk.exe") EndIf EndIf EndFunc ;==>OSKchecker
I can never remember the extended ascii codes and I find it tedious keep having to look them up, select them and then having to copy and paste them. So I decided to design an extended ascii virtual keyboard.
The layout is intended to be intuitive with numeric keys at the top, alphabetic keys on the left, puntuation in the middle and various other symbols appearing to the right. Keys can not be held down since the virtual keyboard needs to lose focus in order to interact with other windows.
The method used is an adaptation of the method used by Info in the following topic:
Reading Info's thread saved me some time, and credit must also go to the MvPs who contributed to that project.
Not all extended ascii characters are included. Four of the keys on the left act as letter modification locks which effect the letters a, e, i, o, u and y. If you wish to type the actual character displayed on one of the modifier keys, you must press the shift key on your main computer keyboard. To type capital letters you can use the shift key or the caps lock key on your main keyboard.
PROBLEMS POSTING THE LATEST CODE
The latest code did not display as intended, since the forum software is confusing part of my my code for html. The html entites are displaying as characters and not as code. You need to download the zip file below to view the source. The zip also includes the compiled script, image resources and READ ME.txt which contains important information.
This script is a spin off from a bigger project, so I have only developed it to the point where it became a functional tool. I don't intend to take the development of this much further, unless by request; however I will most likely use the keypad design layout for other projects in the future.
Change Log 01 Dec 2011
Change Log 31 Jan 2012
Change Log 10 Feb 2012 (including modifications to Melba23's code)
Change Log 05 Jan 2013
Download the latest version of win-1252.
Previous downloads 116
by Melba23 are now included in the zip file. I have slightly modified M23's UDF, but this change isn't a requirement. See Change Log 10 Feb 2012 above.