0 votes
1.2k views
by (320 points)
I am conducting an experiment on a surface pro 4 running windows 10, is it possible to pull up the touch keyboard during the experiment so the subject can fill up the questionnaire?

1 Answer

0 votes
by (870 points)
edited by
 
Best answer

Samy hi,

It's indeed a problem, I've checked several solutions and there is a quick one. It will work for all but the  full-screen running modes. You would need to open the on-screen keyboard application (osk.exe) manually. To do it place the following code into the 'After Onset' snippet of an event with the textbox:

System.Diagnostics.Process.Start(@"C:\Windows\WinSxS\amd64_microsoft-windows-osk_31bf3856ad364e35_10.0.10586.0_none_37426bc50445e4b2\osk.exe");

The folder name with 'osk.exe' is taken from my Surface Pro. If it does not exists on your device, search the folder starting with "C:\Windows\WinSxS\amd64_microsoft-windows-osk ..."', which contains osk.exe 

The above code command will bring the on-screen keyboard at the top of the stimulus screen. After the text is entered, a participant can close the keyboard window.

Welcome to EventIDE Q&A forum where you can ask questions about EventIDE software and receive answers from other members of the community

Categories

FAQ questions

Installation and License


Coding


Eye-tracking


EEG Analysis


Visual Stimuli


Runtime and Data Collection


Hardware

...