# Question of \[Ctrl\] and \[Alt\] key for virtual keyboard in vision project

**URL:** <https://forum.inductiveautomation.com/t/question-of-ctrl-and-alt-key-for-virtual-keyboard-in-vision-project/28070>\
**Category:** Ignition\
**Created:** [September 6, 2019, 3:40am UTC](https://forum.inductiveautomation.com/t/question-of-ctrl-and-alt-key-for-virtual-keyboard-in-vision-project/28070 "2019-09-06T03:40:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dawei.liu](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@dawei.liu](https://forum.inductiveautomation.com/u/dawei.liu)\
**Post date:** [September 9, 2019, 6:20am UTC](https://forum.inductiveautomation.com/t/question-of-ctrl-and-alt-key-for-virtual-keyboard-in-vision-project/28070/6 "2019-09-09T06:20:14Z")

</div>

It seems that the calling of [`system.util.execute(["osk"])` ](https://docs.inductiveautomation.com/display/DOC80/system.util.execute) will not work.

It will have similar error as describe in

> <https://stackoverflow.com/questions/9281315/java-invoke-on-screen-keyboard>

I tried to use command system.util.execute(["cmd /c C:\Windows\System32\osk.exe"]) but still failed.

Solved the Win10 built-in virtual keyboard by using import os os.popen("osk.exe") as shown in below thread.

> [@Display Touch Screen Keyboard when saving file](http://forum.inductiveautomation.com/t/display-touch-screen-keyboard-when-saving-file/10935/3):
>
> I’ll admit it. I’m stumped. I could get a keyboard to show, but it was pre-empted by the save dialog. confused BUT… I could get it to work with the Windows OSK (On-Screen keyboard). In the mousePressed event: import os os.popen("osk.exe") In the actionPerformed event: [code]import system, datetime, os now = datetime.datetime.now() timeStamp = str(now) nameDateFile = now.strftime("%d%m%Y\_%H%M%S") filename = “%s\_stroj\_avtomatsko.csv”%(nameDateFile) capture the table and do the export t…

---

_[View the full topic](https://forum.inductiveautomation.com/t/question-of-ctrl-and-alt-key-for-virtual-keyboard-in-vision-project/28070)._
