Display Touch Screen Keyboard when saving file

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

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.