Gui Edit Box on a tablet.

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
PuzzledGreatly
Posts: 1303
Joined: 29 Sep 2013, 22:18

Gui Edit Box on a tablet.

Post by PuzzledGreatly » 15 Apr 2014, 23:43

How can I make the onscreen keyboard appear when the user touches an edit box. This is for a table using Windows 8 which I am very unfamiliar with. The Gui is fullscreen and without the keyboard there is no way to edit the edit field.
User avatar
jigga
Posts: 93
Joined: 24 Jan 2014, 00:31

Re: Gui Edit Box on a tablet.

Post by jigga » 16 Apr 2014, 17:41

Something like this should work

Code: Select all

Gui, Add, Edit, 
Gui, Add, Edit,, TOUCH ME
Gui, Show, w300 h300, LOOLOL
SetTimer, focusCheck, 500

return

focusCheck:
ControlGetFocus, var, LOOLOL
if (var = "Edit2")
{
	Run, %windir%\system32\osk.exe ;this is the windows 7 path, not sure about windows 8
	ExitApp
	return
}
else
	return
timeFlies
Posts: 146
Joined: 22 Oct 2013, 20:54
Location: Somewhere in the northern hemisphere.

Re: Gui Edit Box on a tablet.

Post by timeFlies » 17 Apr 2014, 00:27

osk.exe is the accessibility keyboard, not the touch keyboard that is normally called by tapping the keyboard icon on the taskbar. Though it would certainly work as a workaround.
User avatar
jigga
Posts: 93
Joined: 24 Jan 2014, 00:31

Re: Gui Edit Box on a tablet.

Post by jigga » 17 Apr 2014, 10:04

%ProgramFiles%\Common Files\microsoft shared\ink\TabTip.exe

I think that is the touch keyboard.
Post Reply

Return to “Ask for Help (v1)”