I have 2 scripts, one is part of the editor and the other a keyboard app that gets around the nativeText problems on the PC.
The editor calls the keybaord app and it comes up, you enter the information, concat the string and send it back. What I want to do is tell the typed string which of two functions to go to. I thought it best to have the function that calls it send in a parameter that can be read and based on that send the value to the right place. Only when I try to send in a parameter, it comes back as being nil.
editor script
bleh=1
kb.SetupKb()
kb.Keyboard(bleh)
keyboard script
function TestMode(event, bleh)
local bleh
local id= event.target.id
theString = theField.text
print(“Give me Bleh-” … bleh)
Callbackfunction(theString)
--return theString
else
theField.text = theField.text…string.char(event.target.id)
end
end
What am I missing??
Thanks!