# Display Touch Screen Keyboard when saving file

**URL:** <https://forum.inductiveautomation.com/t/display-touch-screen-keyboard-when-saving-file/10935>\
**Category:** Ignition\
**Created:** [December 18, 2015, 1:40pm UTC](https://forum.inductiveautomation.com/t/display-touch-screen-keyboard-when-saving-file/10935 "2015-12-18T13:40:11Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 23, 2016, 1:39pm UTC](https://forum.inductiveautomation.com/t/display-touch-screen-keyboard-when-saving-file/10935/3 "2016-02-23T13:39:21Z")

</div>

I’ll admit it. I’m stumped. I could get a keyboard to show, but it was pre-empted by the save dialog. 😕

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

table = event.source.parent.getComponent(“Table”)  
path = system.dataset.exportCSV(filename, 1, table.data)

# sanity check to make sure the file we exported was created

if path != None:  
contents = system.file.readFileAsString(path)  
fixed = contents.replace(’.’, ‘,’) # simple replacement of periods with commas  
system.file.writeFile(path, fixed)

os.popen(‘taskkill /IM osk.exe’)[/code]  
The only thing I added to your script was the os import and the line to kill the OSK at the end.

---

_[View the full topic](https://forum.inductiveautomation.com/t/display-touch-screen-keyboard-when-saving-file/10935)._
