Determine Touchscreen Capabilities

Is there a way to check if a computer has touchscreen capabilities through lotus script code? Thank you.

Subject: No

Subject: If there is a setting in the registry you could check that

Alternatively if there is a windows DLL that can perform the check you could declare that and call it in Lotusscript.

Subject: How to call dll

I am coding in java, now, and found the right DLL but I do not know how to access it to use it.

Subject: You’ll need to learn about JNI

“Java Native Interfaces”, this isn’t something specific to Notes/Domino, but Java. Lots of articles out there if you do a quick google search for “JNI DLL”

Subject: Registry key

HKEY_LOCAL_MACHINE\Hardware\DeviceMap\Touch

Subject: What do I use to determine?

If it is not a touchscreen, what happens when I try and get the value? Also, how do I get this value?

Subject: Check for

@RegQueryValue(“HKEY_LOCAL_MACHINE”;“Hardware\DeviceMap\Touch”;“DriverName”)

If what is returned = “” or null the screen is not a touch screen

Subject: no dll

You are basically checking the os to see if it is setup for touch screen. If there is a value in that key then is it setup.

Subject: Lotus Script

How do I translate the @function into lotus script?

Subject: This

X_Val = Evaluate({@RegQueryValue(“HKEY_LOCAL_MACHINE”;“Hardware\DeviceMap\Touch”;“DriverName”) })

Subject: No Value

That returns no value when I store it as a variant. I have tested on both touch and non touch screen windows 8.

Subject: Check

In regedit that the key or any subkeys exists on a touchscreen equipped pc. If not find one that does exit on a touch screen

Subject: Are

you sure Evaluate works? Both

istouch = (Evaluate({@RegQueryValue(“HKEY_LOCAL_MACHINE”;“Hardware\DeviceMap\Touch”;“DriverName”)}))

a = (Evaluate({@RegQueryValue(“HKEY_LOCAL_MACHINE”;“ControlPanel”;“InputConfig”)}))

Display as empty quotes

Subject: You’re now asking questions that would be better suited to a Windows forum

Subject: Evaluate returns an array

You need to read the return value as an array.You shoudl check isTouch(0) for example…

Subject: Lotusscript code

I posted the code I am using on my blog:Code – Read from and Write to Windows Registry in Lotusscript – TexasSwede

Subject: DLL

Where do I get the dll, and how do I declare it once I have the file (and where do I put that)